Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientRequestRouter ¶
type ClientRequestRouter struct { RoutingTable Clients map[NodeId]*grpc.ClientConn }
func CreateRouter ¶
func CreateRouter(selfId NodeId) *ClientRequestRouter
func (*ClientRequestRouter) Connect ¶
func (r *ClientRequestRouter) Connect() error
func (*ClientRequestRouter) IsSelf ¶
func (r *ClientRequestRouter) IsSelf(id NodeId) bool
type NetworkAddress ¶
type NetworkAddress string
type RoutingTable ¶
type RoutingTable struct { NodeNetworkAddresses map[NodeId]NetworkAddress HashRing dht.HashRing SelfId NodeId }
Click to show internal directories.
Click to hide internal directories.