mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-21 15:56:07 +08:00
18 lines
849 B
Go
18 lines
849 B
Go
package models
|
|
|
|
import (
|
|
)
|
|
type ServerClient struct {
|
|
PrivateKey string `json:"privatekey" bson:"privatekey"`
|
|
PublicKey string `json:"publickey" bson:"publickey"`
|
|
AccessKey string `json:"publickey" bson:"accesskey"`
|
|
Address string `json:"address" bson:"address"`
|
|
Address6 string `json:"address6" bson:"address6"`
|
|
Network string `json:"network" bson:"network"`
|
|
ServerEndpoint string `json:"serverendpoint" bson:"serverendpoint"`
|
|
ServerAddress string `json:"serveraddress" bson:"serveraddress"`
|
|
ServerPort string `json:"serverport" bson:"serverport"`
|
|
ServerKey string `json:"serverkey" bson:"serverkey"`
|
|
IsServer string `json:"isserver" bson:"isserver"`
|
|
}
|