summaryrefslogtreecommitdiff
path: root/src/server.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2022-03-21 17:16:28 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-03-21 17:16:28 +0100
commit324202a50e440cac36a756d6a2628ebadd2f8d70 (patch)
tree10381dc1e490eddb3b446a8f3ce599493f87d26d /src/server.go
parentfc56f8770923ec1997444a8318a18be0a8397520 (diff)
Update python and add basic config support
Diffstat (limited to 'src/server.go')
-rw-r--r--src/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server.go b/src/server.go
index 6f809c6..627843f 100644
--- a/src/server.go
+++ b/src/server.go
@@ -5,9 +5,9 @@ import (
)
type Server struct {
- BaseURL string
- Endpoints *ServerEndpoints
- OAuth *OAuth
+ BaseURL string `json:"base_url"`
+ Endpoints *ServerEndpoints `json:"endpoints"`
+ OAuth *OAuth `json:"oauth"`
}
type ServerEndpointList struct {