diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-06 12:53:56 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-06 12:53:56 +0200 |
| commit | 0d00fec9154bfd3f4dffb3d017d7c3eb795e4332 (patch) | |
| tree | b28faa882644408b0fc5faed4f9fb259cb4dd49b /internal | |
| parent | b9d680d1450448cacefd1ff4277c1a6ad875df8c (diff) | |
State + Discovery: Save the discovery data in the config JSON
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/types/server.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/types/server.go b/internal/types/server.go index 18d242a..a9c46b2 100644 --- a/internal/types/server.go +++ b/internal/types/server.go @@ -12,8 +12,8 @@ import ( type DiscoveryOrganizations struct { Version uint64 `json:"v"` List []DiscoveryOrganization `json:"organization_list"` - Timestamp time.Time `json:"-"` - RawString string `json:"-"` + Timestamp time.Time `json:"go_timestamp"` + RawString string `json:"go_raw_string"` } type DiscoveryOrganization struct { @@ -30,8 +30,8 @@ type DiscoveryOrganization struct { type DiscoveryServers struct { Version uint64 `json:"v"` List []DiscoveryServer `json:"server_list"` - Timestamp time.Time `json:"-"` - RawString string `json:"-"` + Timestamp time.Time `json:"go_timestamp"` + RawString string `json:"go_raw_string"` } type DNMapOrString map[string]string |
