Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClientVersion3 = "v3" ClientVersionDefault = ClientVersion3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Version string `yaml:"version"` Address string `yaml:"address"` User string `yaml:"user,omitempty"` Password string `yaml:"password,omitempty"` ConcurrencyPerAddress int `yaml:"concurrencyPerAddress,omitempty"` ReconnectInitialInterval time.Duration `yaml:"reconnectInitialInterval,omitempty"` Retry int `yaml:"retry,omitempty"` RetryInitialInterval time.Duration `yaml:"retryInitialInterval,omitempty"` SSL *SSL `yaml:"ssl,omitempty"` }
func (*Client) BuildClientPool ¶
func (*Client) OptimizePath ¶ added in v4.1.0
OptimizePath optimizes relative paths base to the configuration file path
type Configurator ¶
type Log ¶
type Log struct { Level *string `yaml:"level,omitempty"` Console *bool `yaml:"console,omitempty"` Files []string `yaml:"files,omitempty"` Fields logger.Fields `yaml:"fields,omitempty"` }
func (*Log) OptimizePath ¶ added in v4.1.0
OptimizePath optimizes relative paths base to the configuration file path
type SSL ¶ added in v4.1.0
Click to show internal directories.
Click to hide internal directories.