Documentation
¶
Index ¶
Constants ¶
View Source
const ( // NOCALLBACK is callback type for messages without callback NOCALLBACK = callback.NOCALLBACK )
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 (b *Bmmc) GetMessages() []interface{}
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 Addr string // Port is HTTP port for node which runs gossip and http servers // Required Port string // Beta is the expected fanout for gossip rounds // Optional Beta float64 // Logger // Optional Logger *log.Logger // Callbacks funtions // Optional Callbacks map[string]func(interface{}, *log.Logger) (bool, error) }
Click to show internal directories.
Click to hide internal directories.