# Functions
BoxDecrypt - decrypts traffic box.
BoxEncrypt - encrypts traffic box.
Checkin -- go routine that checks for public or local ip changes, publishes changes
if there are no updates, simply "pings" the server as a checkin.
Chunk - chunks a message and encrypts each chunk.
Connect will attempt to connect a node on given network.
Daemon runs netclient daemon.
DeChunk - "de" chunks and decrypts a message.
Disconnect disconnects a node from the given network.
GetLocalListenPort - Gets the port running on the local interface.
GetNodePeers returns the peers for a given node.
No description provided by the author
HostPeerUpdate - mq handler for host peer update peers/host/<HOSTID>/<SERVERNAME>.
HostUpdate - mq handler for host update host/update/<HOSTID>/<SERVERNAME>.
Install - installs binary/daemon.
IsVersionCompatible checks that the version passed is compabtible (>=) with MinVersion.
LeaveNetwork - client exits a network.
LeaveServer - leave the named server.
List - list network details for specified networks long flag passed passed to cmd line will list additional details about network including peers.
ListServers - lists all registered servers.
Migrate update data from older versions of netclient to new format.
NodeUpdate -- mqtt message handler for /update/<NodeID> topic.
PublishHostUpdate - publishes host updates to server.
PublishNodeUpdate -- pushes node to broker.
Pull - pulls the latest config from the server, if manual it will overwrite.
Push - updates server with new host config.
Register - should be simple to register with a token.
RegisterWithSSO - register with user credentials with a netmaker server.
SignalPeer - signals the peer with host's turn relay endpoint.
SwitchServer - switches netclient server context.
Uninstall - uninstalls networks from client.
UpdateHostSettings - checks local host settings, if different, mod config and publish.
UpdateKeys -- updates private key and returns new publickey.
UseVersion switches the current netclient version to the one specified if available in the github releases page.
# Constants
ACK - acknowledgement signal for MQ.
CheckInInterval - interval in minutes for mq checkins.
DONE - done signal for MQ.
No description provided by the author
MQ_TIMEOUT - timeout for MQ.
MQTimeout - time out for mqtt connections.
No description provided by the author
No description provided by the author
# Variables
All -- mqtt message hander for all ('#') topics.
LastHandShakeThreshold - threshold for considering inactive connection.
No description provided by the author
# Structs
RegisterSSO - payload to register via SSO.