diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-03-20 13:49:26 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | 8ccb4486cdb03cd3b10606b4bd77b7bcb4107e6d (patch) | |
| tree | f245d9b858a40ae99caca6c7fbc15e4d91f74d3d /types/types.go | |
| parent | 40705474e1998bf4a59b82c96d343e13247a9926 (diff) | |
Format: Run gofumpt
Diffstat (limited to 'types/types.go')
| -rw-r--r-- | types/types.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/types/types.go b/types/types.go index 99b997e..4161108 100644 --- a/types/types.go +++ b/types/types.go @@ -70,17 +70,17 @@ type DiscoveryServer struct { } type Expiry struct { - StartTime int64 `json:"start_time"` - EndTime int64 `json:"end_time"` - ButtonTime int64 `json:"button_time"` - CountdownTime int64 `json:"countdown_time"` + StartTime int64 `json:"start_time"` + EndTime int64 `json:"end_time"` + ButtonTime int64 `json:"button_time"` + CountdownTime int64 `json:"countdown_time"` NotificationTimes []int64 `json:"notification_times"` } type Profile struct { - Identifier string `json:"identifier"` - DisplayName map[string]string `json:"display_name,omitempty"` - Protocols []protocol.Protocol `json:"supported_protocols"` + Identifier string `json:"identifier"` + DisplayName map[string]string `json:"display_name,omitempty"` + Protocols []protocol.Protocol `json:"supported_protocols"` } type Profiles struct { @@ -118,10 +118,10 @@ type ServerList struct { } type Configuration struct { - VPNConfig string `json:"config"` + VPNConfig string `json:"config"` Protocol protocol.Protocol `json:"protocol"` - DefaultGateway bool `json:"default_gateway"` - Tokens Tokens `json:"tokens"` + DefaultGateway bool `json:"default_gateway"` + Tokens Tokens `json:"tokens"` } type ServerType int8 |
