mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-22 08:29:28 +08:00
19 lines
716 B
Go
19 lines
716 B
Go
package models
|
|
|
|
import (
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
//External Struct
|
|
//At some point, need to replace all instances of Name with something else like Identifier
|
|
type External struct {
|
|
ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
|
|
ClientID string `json:"clientid" bson:"clientid"`
|
|
PrivateKey string `json:"privatekey" bson:"privatekey"`
|
|
PublicKey string `json:"publickey" bson:"publickey"`
|
|
Network string `json:"network" bson:"network"`
|
|
Address string `json:"address" bson:"address"`
|
|
LastModified string `json:"lastmodified" bson:"lastmodified"`
|
|
IngressGateway string `json:"ingressgateway" bson:"ingressgateway"`
|
|
}
|