Versions in this module Expand all Collapse all v0 v0.1.0 Dec 5, 2022 Changes in this version + type Client struct + func Connect(cfg *Config) (*Client, error) + func (c *Client) Disconnect() error + type Config struct + ConnectTimeout time.Duration + Options map[string]string + Password string + Servers map[string]int + Username string + func NewConfig(options ...Option) *Config + func (c *Config) URI() (string, error) + type Option func(*Config) + func WithAuth(username, password string) Option + func WithConnectTimeout(timeout time.Duration) Option + func WithOption(name, value string) Option + func WithServer(host string, port int) Option