diff options
| author | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-21 17:16:28 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-03-21 17:16:28 +0100 |
| commit | 324202a50e440cac36a756d6a2628ebadd2f8d70 (patch) | |
| tree | 10381dc1e490eddb3b446a8f3ce599493f87d26d /src/server.go | |
| parent | fc56f8770923ec1997444a8318a18be0a8397520 (diff) | |
Update python and add basic config support
Diffstat (limited to 'src/server.go')
| -rw-r--r-- | src/server.go | 6 |
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 { |
