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") )
View Source
var Scan = []interface{}{ RaftGrpcServer(), }
Functions ¶
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.