Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMesh ¶
type CreateMesh struct { Name string `json:"name" binding:"required"` IPs []string `json:"ips" binding:"required"` }
func (*CreateMesh) IsValidHostname ¶
func (r *CreateMesh) IsValidHostname() (bool, string)
type CreateTunnel ¶
type CreateTunnel struct { Hostname string `json:"hostname" binding:"required"` Password string `json:"password" binding:"required"` }
func (*CreateTunnel) IsValidHostname ¶
func (r *CreateTunnel) IsValidHostname() (bool, string)
type TunnelWithPass ¶
type UserRegistration ¶
type UserRegistration struct { Username string `json:"username" binding:"required"` Password string `json:"password" binding:"required"` }
func (*UserRegistration) IsValidUsername ¶
func (r *UserRegistration) IsValidUsername() (bool, string)
Click to show internal directories.
Click to hide internal directories.