Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // GossipAddr is HTTP address for node which runs gossip round GossipAddr string // GossipPort is HTTP port for node which runs gossip round GossipPort string // HTTPAddr is http server address HTTPAddr string // HTTPPort is http server port HTTPPort string // PeerBuf is the list of peers Peers []peer.Peer // Beta is the expected fanout for gossip rounds Beta float64 }
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func (*Protocol) AddMessage ¶
func (*Protocol) GetMessages ¶
Click to show internal directories.
Click to hide internal directories.