about summary refs log tree commit diff stats
path: root/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'types.go')
-rw-r--r--types.go16
1 files changed, 9 insertions, 7 deletions
diff --git a/types.go b/types.go
index c7d1c50..8a707bd 100644
--- a/types.go
+++ b/types.go
@@ -10,13 +10,15 @@ type configuration struct {
 	port          int
 	logfile       string
 	stdoutLogging bool
-	instance
+	version       string
+	Instance
 }
 
-// refers to this specific instance of getwtxt
-type instance struct {
-	name  string
-	url   string
-	owner string
-	mail  string
+// Instance refers to this specific instance of getwtxt
+type Instance struct {
+	Name  string
+	URL   string
+	Owner string
+	Mail  string
+	Desc  string
 }