Documentation
¶
Index ¶
- func Driver(client *goredis.Client, options ...Option) message.Driver
- func Provider(items ...Option) runaprovider.Provider
- type Option
- func Addr(value string) Option
- func Auth(username string, password string) Option
- func Client(client *goredis.Client) Option
- func Config(path string) Option
- func DB(value int) Option
- func DialTimeout(value time.Duration) Option
- func MinIdle(value int) Option
- func Name(value string) Option
- func Password(value string) Option
- func PoolSize(value int) Option
- func Prefix(value string) Option
- func ReadTimeout(value time.Duration) Option
- func Use(name string) Option
- func WriteTimeout(value time.Duration) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶ added in v0.1.2
func Provider(items ...Option) runaprovider.Provider
Types ¶
type Option ¶
type Option func(*options)
func Client ¶ added in v0.1.2
Client uses an existing Redis client. The driver will not close injected clients.
func DialTimeout ¶ added in v0.1.2
func ReadTimeout ¶ added in v0.1.2
func WriteTimeout ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.