Documentation
¶
Index ¶
- func GetLatestBinary(osname string) (string, []byte, error)
- func GetLatestVersion() (string, error)
- func GetToken() (string, error)
- func GetUserID() (*string, *string, error)
- func Login(email, password string) error
- func Register(name, email, password, sshkey string) error
- type Account
- type Client
- type Socket
- type Tunnel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestVersion ¶
Types ¶
type Socket ¶
type Socket struct { Tunnels []Tunnel `json:"tunnels,omitempty"` Username string `json:"user_name,omitempty"` SocketID string `json:"socket_id,omitempty"` SocketTcpPorts []int `json:"socket_tcp_ports,omitempty"` Dnsname string `json:"dnsname,omitempty"` Name string `json:"name,omitempty"` SocketType string `json:"socket_type,omitempty"` ProtectedSocket bool `json:"protected_socket"` ProtectedUsername string `json:"protected_username"` ProtectedPassword string `json:"protected_password"` CloudAuthEnabled bool `json:"cloud_authentication_enabled,omitempty"` AllowedEmailAddresses []string `json:"cloud_authentication_email_allowed_addressses,omitempty"` AllowedEmailDomains []string `json:"cloud_authentication_email_allowed_domains,omitempty"` }
Click to show internal directories.
Click to hide internal directories.