Documentation
¶
Index ¶
Constants ¶
View Source
const KeyPrefix = "grpc-p2p-"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Name string Addr string SDAddress string SDKV api.KV Peers map[string]hs.HelloServiceClient }
func (*Node) BroadcastMessage ¶
func (*Node) SayHello ¶
func (node *Node) SayHello(ctx context.Context, stream *hs.HelloRequest) (*hs.HelloReply, error)
func (*Node) SetupClient ¶
func (*Node) StartListening ¶
func (node *Node) StartListening()
Click to show internal directories.
Click to hide internal directories.