Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRaftNotInitialized = status.Errorf(codes.Unavailable, "raft not initialized") ErrRaftLeaderNotFound = status.Errorf(codes.Unavailable, "raft leader not found") )
Functions ¶
func RaftCommand ¶ added in v1.0.6
func RaftGrpcServer ¶
func RaftGrpcServer() raftapi.RaftGrpcServer
Types ¶
type ContentStreamServer ¶
type ContentStreamServer interface { Send(*raftpb.Content) error grpc.ServerStream }
Click to show internal directories.
Click to hide internal directories.