Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterPeer ¶
type ClusterPeer struct {
URI string `json:"uri"`
}
type ClusterResponse ¶
type ClusterResponse struct {
Result ClusterResult `json:"result"`
Status string `json:"status"`
Time float64 `json:"time"`
}
type ClusterResult ¶
type ClusterResult struct {
Status string `json:"status"`
PeerID *int64 `json:"peer_id,omitempty"`
Peers map[string]ClusterPeer `json:"peers"`
RaftInfo *RaftInfo `json:"raft_info,omitempty"`
ConsensusThreadState map[string]json.RawMessage `json:"consensus_thread_status,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.