package
0.25.0
Repository: https://github.com/gravitl/netmaker.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ClientPeerUpdate message handler -- handles updating peers after signal from client nodes.
CloseClient - function to close the mq connection from server.
No description provided by the author
DefaultHandler default message queue handler -- NOT USED.
GetEmqxHandler - gets emqx handler.
decodes a message queue topic and returns the embedded node.ID.
No description provided by the author
HostUpdate -- publishes a host update to clients.
IsConnected - function for determining if the mqclient is connected or not.
IsConnectionOpen - function for determining if the mqclient is connected or not.
Keepalive -- periodically pings all nodes to let them know server is still alive and doing well.
No description provided by the author
NodeUpdate -- publishes a node update.
PublishDeletedClientPeerUpdate --- determines and publishes a peer update to all the hosts with a deleted ext client to account for.
PublishDeletedNodePeerUpdate --- determines and publishes a peer update to all the hosts with a deleted node to account for.
PublishMqUpdatesForDeletedNode - published all the required updates for deleted node.
PublishPeerUpdate --- determines and publishes a peer update to all the hosts.
PublishSingleHostPeerUpdate --- determines and publishes a peer update to one host.
No description provided by the author
No description provided by the author
ServerStartNotify - notifies all non server nodes to pull changes after a restart.
SetupMQTT creates a connection to broker and return client.
UpdateHost message Handler -- handles host updates from clients.
UpdateNode message Handler -- handles updates from client nodes.

# Constants

timeout in seconds.
MQ_DISCONNECT - disconnects MQ.
MQ_TIMEOUT - timeout for MQ.

# Variables

UpdateMetrics message Handler -- handles updates from client nodes for metrics.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author