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
 }
#n110'>110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170