summary refs log tree commit diff stats
path: root/types.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-12 04:34:06 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-12 04:34:06 -0400
commit1f8b2ce166e104bca99e4a758bb658dd27d5e4d6 (patch)
tree34824b222593042ce14b6d0aa8d2b7657851cfca /types.go
parent8e7f0c90e096f04b5dbc044c5ffabd87c86848e8 (diff)
downloadgetwtxt-1f8b2ce166e104bca99e4a758bb658dd27d5e4d6.tar.gz
added stdoutLogging bool and related configuration
Diffstat (limited to 'types.go')
-rw-r--r--types.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/types.go b/types.go
index 5ca2f90..597c423 100644
--- a/types.go
+++ b/types.go
@@ -6,7 +6,8 @@ const htmlutf8 = "text/html; charset=utf8"
 
 // config object definition
 type configuration struct {
-	port      int
-	logfile   string
-	twtxtfile string
+	port          int
+	logfile       string
+	twtxtfile     string
+	stdoutLogging bool
 }