Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplySettings ¶
func GetLocalPort ¶
func GetLocalPort() int
func StartRouter ¶
func StartRouter(ready chan struct{})
func StartSocket ¶
func StartSocket()
func StopSocket ¶
func StopSocket()
Types ¶
type Settings ¶
type Settings struct {
ServerURL string
Username string
Password string
Token string
EmailToken bool
SMSToken bool
AuthCookie string
ServerID string
LoginKey string
LocalPort int
RemotePort int
RemoteTarget string
RemoteNodeID string
WebSocket *websocket.Conn
WebChannel *websocket.Conn
ACookie string
RCookie string
RenewCookieTimer *time.Timer
ServerAuthClientNonce string
MeshServerTlsHash string
ServerHttpsHash string
Devices []Device
DeviceQueryState int
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.