Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginRequest ¶
type LoginRequest struct { Email string `json:"email" validate:"required,email"` Password string `json:"password" validate:"required"` }
LoginRequest stores a username/password combination
type Node ¶
type Node struct { ID string `json:"-" bson:"_id,omitempty"` Endpoint string `json:"endpoint" validate:"required"` Provider string `json:"provider" validate:"required"` Latitude float32 `json:"latitude" validate:"required"` Longitude float32 `json:"longitude" validate:"required"` Authorized bool `json:"-"` }
Node stores a single edge node
type Record ¶
type Record struct {
RRString string `json:"rr" validate:"required"`
}
Record stores a DNS RR string
Click to show internal directories.
Click to hide internal directories.