Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BarrierConfig ¶
type BarrierConfig struct {
Size int `json:"size"`
}
type Config ¶
type Config struct { Addr []string `json:"addr"` Username string `json:"username"` Password string `json:"password"` SSL SSLConfig `json:"ssl"` KeepAlive KeepAliveConfig `json:"keepAlive"` Barrier json.RawMessage `json:"barrier"` }
func (*Config) BarrierConfig ¶
func (config *Config) BarrierConfig() (v configures.Config, err error)
func (*Config) SharedConfig ¶
func (config *Config) SharedConfig() (v configures.Config, err error)
type KeepAliveConfig ¶
type KeepAliveConfig struct { TTL time.Duration `json:"ttl"` Interval time.Duration `json:"interval"` }
func (*KeepAliveConfig) GetInterval ¶
func (config *KeepAliveConfig) GetInterval() time.Duration
func (*KeepAliveConfig) GetTTL ¶
func (config *KeepAliveConfig) GetTTL() time.Duration
type SharedConfig ¶
type SharedConfig struct {}
Click to show internal directories.
Click to hide internal directories.