package
Version:
v0.0.0-...-06c45e9
Opens a new window with list of versions in this module.
Published: Mar 19, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package redisflags processes redis-related flags.
Default contains the default flags. Make a copy of this, do not reuse.
type Redis struct {
Addr string `long:"redis-addr" env:"HB_REDIS_ADDR" description:"Redis address" required:"true"`
}
Redis contains redis flags.
Client creates a new redis client from the configured flags.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.