Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gossip ¶
type GossipMongers ¶
type GossipMongers interface { AddMonger(addr common.Address) RemoveMonger(addr common.Address) GetRandomServerAddress() *common.Address GetMongers() []common.Address }
func NewGossipMongers ¶
func NewGossipMongers(ctx common.CallCtx, self common.Address) GossipMongers
type Rumors ¶
type Rumors interface { AddRumor(rumor Rumor) GetProtobuf() *proto.GossipRequest }
type SearchRumor ¶
type SearchRumor struct {
// contains filtered or unexported fields
}
func NewSearchRumor ¶
func NewSearchRumor(rumor rumor, query string) SearchRumor
func (SearchRumor) GetCreator ¶
func (SearchRumor) GetQuery ¶
func (r SearchRumor) GetQuery() string
func (SearchRumor) GetRumorId ¶
func (SearchRumor) String ¶
func (r SearchRumor) String() string
func (SearchRumor) ToProtobuf ¶
func (r SearchRumor) ToProtobuf() *proto.Gossip
Click to show internal directories.
Click to hide internal directories.