2021-05-28 02:57:59 +08:00
|
|
|
package models
|
|
|
|
|
|
|
|
type IntClient struct {
|
2021-10-09 03:07:12 +08:00
|
|
|
ClientID string `json:"clientid" bson:"clientid"`
|
|
|
|
PrivateKey string `json:"privatekey" bson:"privatekey"`
|
|
|
|
PublicKey string `json:"publickey" bson:"publickey"`
|
|
|
|
AccessKey string `json:"accesskey" bson:"accesskey"`
|
|
|
|
Address string `json:"address" bson:"address"`
|
|
|
|
Address6 string `json:"address6" bson:"address6"`
|
|
|
|
Network string `json:"network" bson:"network"`
|
|
|
|
ServerPublicEndpoint string `json:"serverpublicendpoint" bson:"serverpublicendpoint"`
|
|
|
|
ServerAPIPort string `json:"serverapiport" bson:"serverapiport"`
|
|
|
|
ServerPrivateAddress string `json:"serverprivateaddress" bson:"serverprivateaddress"`
|
|
|
|
ServerWGPort string `json:"serverwgport" bson:"serverwgport"`
|
|
|
|
ServerGRPCPort string `json:"servergrpcport" bson:"servergrpcport"`
|
|
|
|
ServerKey string `json:"serverkey" bson:"serverkey"`
|
|
|
|
IsServer string `json:"isserver" bson:"isserver"`
|
2021-05-28 02:57:59 +08:00
|
|
|
}
|