Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent participates in a brahm gossip network
func (*Agent) Emit ¶
Emit dissemates the message to N peers and succeeds unless less than m peers responded with success
type Config ¶
type Config struct { ListenAddr net.IP ListenPort uint16 AdvertiseAddr net.IP AdvertisePort uint16 ValidateTimeout time.Duration UpdateTimeout time.Duration InvalidationTimeout time.Duration ReceiveTimeout time.Duration Params brahms.P }
Config configures the agent
func LocalTestConfig ¶
func LocalTestConfig() (cfg *Config)
LocalTestConfig returns a sensible default config for local testing
Click to show internal directories.
Click to hide internal directories.