Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Close ¶
Close disconnects the Redis client and shuts down the OTel instance if enabled.
type Config ¶
type Config struct {
redis.Options
Otel redisotel.Config
CertFile string `json:"cert_file,omitempty"`
KeyFile string `json:"key_file,omitempty"`
}
func (*Config) AfterInject ¶
func (c *Config) AfterInject()
AfterInject loads TLS certificates when both CertFile and KeyFile are set.
func (*Config) BeforeInject ¶
func (c *Config) BeforeInject()
BeforeInject is a no-op satisfying the Config interface.
Click to show internal directories.
Click to hide internal directories.