external.go 716 B

123456789101112131415161718
  1. package models
  2. import (
  3. "go.mongodb.org/mongo-driver/bson/primitive"
  4. )
  5. //External Struct
  6. //At some point, need to replace all instances of Name with something else like Identifier
  7. type External struct {
  8. ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
  9. ClientID string `json:"clientid" bson:"clientid"`
  10. PrivateKey string `json:"privatekey" bson:"privatekey"`
  11. PublicKey string `json:"publickey" bson:"publickey"`
  12. Network string `json:"network" bson:"network"`
  13. Address string `json:"address" bson:"address"`
  14. LastModified string `json:"lastmodified" bson:"lastmodified"`
  15. IngressGateway string `json:"ingressgateway" bson:"ingressgateway"`
  16. }