Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { Name string BindAddr string BindPort int AdvertiseAddr string AdvertisePort int ProtocolVersion uint8 TCPTimeout time.Duration IndirectChecks int RetransmitMult int SuspicionMult int SuspicionMaxTimeoutMult int PushPullInterval time.Duration ProbeInterval time.Duration ProbeTimeout time.Duration DisableTcpPings bool AwarenessMaxMultiplier int GossipInterval time.Duration GossipNodes int GossipToTheDeadTime time.Duration GossipVerifyIncoming bool GossipVerifyOutgoing bool EnableCompression bool SecretKey []byte DelegateProtocolVersion uint8 DelegateProtocolMin uint8 DelegateProtocolMax uint8 DNSConfigPath string HandoffQueueDepth int UDPBufferSize int // contains filtered or unexported fields }
func GetDefaultCfg ¶
func GetDefaultCfg() Cfg
func (Cfg) Build ¶
func (t Cfg) Build() *memberlist.Memberlist
Click to show internal directories.
Click to hide internal directories.