Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RaftServer ¶
type RaftServer interface {
Accept(request raftmodels.Request) (ResponseChan, ErrorChan)
}
The RaftServer will
func NewRaftServer ¶
func NewRaftServer(locator locator.RpcLocator) RaftServer
type ResponseChan ¶
type ResponseChan <-chan raftmodels.Response
Click to show internal directories.
Click to hide internal directories.