MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / RaftServer

Interface RaftServer

bitmap/pb.pb.go:5565–5570  ·  view source on GitHub ↗

RaftServer is the server API for Raft service.

Source from the content-addressed store, hash-verified

5563
5564// RaftServer is the server API for Raft service.
5565type RaftServer interface {
5566 Heartbeat(*api.Payload, Raft_HeartbeatServer) error
5567 RaftMessage(Raft_RaftMessageServer) error
5568 JoinCluster(context.Context, *RaftContext) (*api.Payload, error)
5569 IsPeer(context.Context, *RaftContext) (*PeerResponse, error)
5570}
5571
5572// UnimplementedRaftServer can be embedded to have forward compatible implementations.
5573type UnimplementedRaftServer struct {

Callers

nothing calls this directly

Implementers 2

raftClientbitmap/pb.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected