Skip to content

Commit

Permalink
Merge pull request #3 from fsrv-xyz/master
Browse files Browse the repository at this point in the history
fix: add server_ipv6_net field to Server struct
  • Loading branch information
sananguliyev authored Nov 7, 2023
2 parents d704eb2 + a182db3 commit 0c7bba9
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions models/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,28 @@ type Subnet struct {
}

type Server struct {
ServerIP string `json:"server_ip"`
ServerNumber int `json:"server_number"`
ServerName string `json:"server_name"`
Product string `json:"product"`
Dc string `json:"dc"`
Traffic string `json:"traffic"`
Flatrate bool `json:"flatrate"`
Status string `json:"status"`
Throttled bool `json:"throttled"`
Cancelled bool `json:"cancelled"`
PaidUntil string `json:"paid_until"`
IP []string `json:"ip"`
Subnet []Subnet `json:"subnet"`
Reset bool `json:"reset"`
Rescue bool `json:"rescue"`
Vnc bool `json:"vnc"`
Windows bool `json:"windows"`
Plesk bool `json:"plesk"`
Cpanel bool `json:"cpanel"`
Wol bool `json:"wol"`
HotSwap bool `json:"hot_swap"`
ServerIP string `json:"server_ip"`
ServerIPv6Net string `json:"server_ipv6_net"`
ServerNumber int `json:"server_number"`
ServerName string `json:"server_name"`
Product string `json:"product"`
Dc string `json:"dc"`
Traffic string `json:"traffic"`
Flatrate bool `json:"flatrate"`
Status string `json:"status"`
Throttled bool `json:"throttled"`
Cancelled bool `json:"cancelled"`
PaidUntil string `json:"paid_until"`
IP []string `json:"ip"`
Subnet []Subnet `json:"subnet"`
Reset bool `json:"reset"`
Rescue bool `json:"rescue"`
Vnc bool `json:"vnc"`
Windows bool `json:"windows"`
Plesk bool `json:"plesk"`
Cpanel bool `json:"cpanel"`
Wol bool `json:"wol"`
HotSwap bool `json:"hot_swap"`
}

type ServerSetNameInput struct {
Expand Down

0 comments on commit 0c7bba9

Please sign in to comment.