Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client(config *Configuration) *redis.Client
Client creates a redis client from the configuration struct.
Types ¶
type Configuration ¶
Configuration defines the connection configuration for Redis.
func NewConfigurationFromEnv ¶
func NewConfigurationFromEnv() *Configuration
NewConfigurationFromEnv creates a new configuration from environment variables.
func (*Configuration) Address ¶
func (c *Configuration) Address() string
Address gets the string representation with the host and port.
Click to show internal directories.
Click to hide internal directories.