RaftServer is the server API for Raft service.
| 5563 | |
| 5564 | // RaftServer is the server API for Raft service. |
| 5565 | type 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. |
| 5573 | type UnimplementedRaftServer struct { |
nothing calls this directly
no outgoing calls
no test coverage detected