Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bmmc ¶ added in v0.1.2
type Bmmc struct {
// contains filtered or unexported fields
}
func (*Bmmc) AddMessage ¶ added in v0.1.2
func (*Bmmc) GetMessages ¶ added in v0.1.2
func (*Bmmc) RemovePeer ¶ added in v0.1.6
type Config ¶
type Config struct { // Addr is HTTP address for node which runs gossip and http servers // Required field Addr string // Port is HTTP port for node which runs gossip and http servers // Required field Port string // PeerBuf is the list of peers // Optional field Peers []Peer // Beta is the expected fanout for gossip rounds // Optional field Beta float64 // Logger // Optional field Logger *log.Logger // Callbacks funtions // Optional field Callbacks map[string]func(string, *log.Logger) (bool, error) }
Click to show internal directories.
Click to hide internal directories.