Lines Matching defs:Config
15 type Config struct { struct
17 Name string
22 Transport Transport
28 BindAddr string
29 BindPort int
33 AdvertiseAddr string
34 AdvertisePort int
39 ProtocolVersion uint8
46 TCPTimeout time.Duration
53 IndirectChecks int
64 RetransmitMult int
77 SuspicionMult int
94 SuspicionMaxTimeoutMult int
104 PushPullInterval time.Duration
116 ProbeInterval time.Duration
117 ProbeTimeout time.Duration
122 DisableTcpPings bool
126 DisableTcpPingsForNode func(nodeName string) bool
131 AwarenessMaxMultiplier int
149 GossipInterval time.Duration
150 GossipNodes int
151 GossipToTheDeadTime time.Duration
156 GossipVerifyIncoming bool
161 GossipVerifyOutgoing bool
166 EnableCompression bool
175 SecretKey []byte
179 Keyring *Keyring
189 Delegate Delegate
190 DelegateProtocolVersion uint8
191 DelegateProtocolMin uint8
192 DelegateProtocolMax uint8
193 Events EventDelegate
194 Conflict ConflictDelegate
195 Merge MergeDelegate
196 Ping PingDelegate
197 Alive AliveDelegate
201 DNSConfigPath string
206 LogOutput io.Writer
212 Logger *log.Logger
217 HandoffQueueDepth int
226 UDPBufferSize int
231 DeadNodeReclaimTime time.Duration
235 RequireNodeNames bool
239 CIDRsAllowed []net.IPNet
329 func (c *Config) IPMustBeChecked() bool {
334 func (c *Config) IPAllowed(ip net.IP) error {
364 func (c *Config) EncryptionEnabled() bool {