package
0.0.0-20190424025805-13d8ce4561ea
Repository: https://github.com/flike/kingbus.git
Documentation: pkg.go.dev
# Functions
NewAdminServer creates a admin server.
# Variables
ErrNoLeader returns for no leader in raft cluster.
ErrNotLeader returns for the node is not leader.
# Structs
AdminServer is a server for handling api call.
BinlogServerHandler is used for the api call of handling binlog serverhandler with lock will keep calling api with no compete.
BinlogSyncerHandler is used handling the api call of binlog syncer.handler with lock will keep calling api with no compete.
MembershipHandler is used for handling the api call of membership in raft cluster.
Role represents a node in cluster.