diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-12 03:59:29 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-12 03:59:29 -0400 |
commit | 06cffd89aeea4d34c987a1e7583af7525b8534e8 (patch) | |
tree | abfdd9883033d538d5da83dadc6458e09a5feea2 /types.go | |
parent | db3ecebbc2d131f9bd6a8d47e39dcecf785183e5 (diff) | |
download | getwtxt-06cffd89aeea4d34c987a1e7583af7525b8534e8.tar.gz |
config fleshed out; using viper+pflag
Diffstat (limited to 'types.go')
-rw-r--r-- | types.go | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/types.go b/types.go index 6b33e5b..5ca2f90 100644 --- a/types.go +++ b/types.go @@ -6,11 +6,7 @@ const htmlutf8 = "text/html; charset=utf8" // config object definition type configuration struct { - port string - quietLogging bool - fileLogging bool - logFile string + port int + logfile string + twtxtfile string } - -// config object -var confObj = &configuration{} |