Browse Source

added ServerVersion structure to hostpull model

* added ServerVersion structure to hostpull model
Farukh Khan 1 year ago
parent
commit
d9a7088406
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/structs.go

+ 1 - 0
models/structs.go

@@ -227,6 +227,7 @@ type HostPull struct {
 	Nodes           []Node                `json:"nodes" yaml:"nodes"`
 	Peers           []wgtypes.PeerConfig  `json:"peers" yaml:"peers"`
 	ServerConfig    ServerConfig          `json:"server_config" yaml:"server_config"`
+	ServerVersion   string                `json:"serverversion" bson:"serverversion" yaml:"serverversion"`
 	PeerIDs         PeerMap               `json:"peer_ids,omitempty" yaml:"peer_ids,omitempty"`
 	HostNetworkInfo HostInfoMap           `json:"host_network_info,omitempty"  yaml:"host_network_info,omitempty"`
 	EgressRoutes    []EgressNetworkRoutes `json:"egress_network_routes"`