Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RaftClientPoolClass = reflect.TypeOf((*RaftClientPool)(nil)).Elem()
View Source
var RaftGrpcServerClass = reflect.TypeOf((*RaftGrpcServer)(nil)).Elem()
View Source
var RaftServerClass = reflect.TypeOf((*RaftServer)(nil)).Elem()
View Source
var RaftServiceClass = reflect.TypeOf((*RaftService)(nil)).Elem()
Functions ¶
This section is empty.
Types ¶
type FSMResponse ¶
* Finite State Machine Response
type RaftClientPool ¶
type RaftClientPool interface { glue.InitializingBean glue.DisposableBean GetAPIEndpoint(raftAddress string) (string, error) GetAPIConn(raftAddress raft.ServerAddress) (*grpc.ClientConn, error) Close() error }
type RaftGrpcServer ¶
type RaftGrpcServer interface { glue.InitializingBean sprint.Component }
type RaftServer ¶
type RaftService ¶
type RaftService interface { glue.InitializingBean raft.FSM }
Click to show internal directories.
Click to hide internal directories.