Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the client object used by Server to send requests to other Servers
func MakeClient ¶
func (*Client) GetEndpoint ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the rpc server that will be started in each Node of the cluster
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is an Object which has methods to be exposed through rpc, for example Raft and KVStore
func MakeService ¶
func MakeService(rcvr interface{}) *Service
MakeService initializes a Service object
Click to show internal directories.
Click to hide internal directories.