diff options
| -rw-r--r-- | internal/types/server.go | 8 | ||||
| -rw-r--r-- | state.go | 2 |
2 files changed, 5 insertions, 5 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 @@ -21,7 +21,7 @@ type VPNState struct { Servers server.Servers `json:"servers"` // The list of servers and organizations from disco - Discovery discovery.Discovery `json:"-"` + Discovery discovery.Discovery `json:"discovery"` // The fsm FSM fsm.FSM `json:"-"` |
