2021-05-20 01:59:10 +08:00
|
|
|
package models
|
|
|
|
|
2021-10-09 03:07:12 +08:00
|
|
|
// ExtClient - struct for external clients
|
2021-05-20 01:59:10 +08:00
|
|
|
type ExtClient struct {
|
2021-08-25 04:08:34 +08:00
|
|
|
ClientID string `json:"clientid" bson:"clientid"`
|
|
|
|
Description string `json:"description" bson:"description"`
|
|
|
|
PrivateKey string `json:"privatekey" bson:"privatekey"`
|
|
|
|
PublicKey string `json:"publickey" bson:"publickey"`
|
|
|
|
Network string `json:"network" bson:"network"`
|
|
|
|
Address string `json:"address" bson:"address"`
|
2022-03-09 06:08:52 +08:00
|
|
|
Address6 string `json:"address6" bson:"address6"`
|
2021-08-25 04:08:34 +08:00
|
|
|
IngressGatewayID string `json:"ingressgatewayid" bson:"ingressgatewayid"`
|
|
|
|
IngressGatewayEndpoint string `json:"ingressgatewayendpoint" bson:"ingressgatewayendpoint"`
|
|
|
|
LastModified int64 `json:"lastmodified" bson:"lastmodified"`
|
2022-03-11 22:41:14 +08:00
|
|
|
Enabled bool `json:"enabled" bson:"enabled"`
|
2021-08-25 04:08:34 +08:00
|
|
|
}
|