package
0.0.0-20200917192850-53883ab13fc3
Repository: https://github.com/unit-io/unitd.git
Documentation: pkg.go.dev
# Functions
Returns worker id.
No description provided by the author
No description provided by the author
No description provided by the author
ResponseHandler handles responses for monitoring routes.
# Variables
No description provided by the author
# Structs
Cluster is the representation of the cluster.
ClusterNode is a client's connection to another node.
ClusterPing is content of a leader node ping to a follower node.
ClusterReq is a Proxy to Master request message.
ClusterResp is a Master to Proxy response message.
ClusterSess is a basic info on a remote session where the message was created.
ClusterVote is a vote request and a response in leader election.
ClusterVoteRequest is a request from a leader candidate to a node to vote for the candidate.
ClusterVoteResponse is a vote from a node.
No description provided by the author
No description provided by the author
No description provided by the author
Service is a main struct.
Stats will output server information on the monitoring port at /varz.