Documentation
¶
Index ¶
- type RedisPS
- func (this *RedisPS) EnablePrefixFlag() *RedisPS
- func (this *RedisPS) GetInstance() *redis.Client
- func (this *RedisPS) GetPrefix() string
- func (this *RedisPS) HandleCommand(cmd *cli.Command) error
- func (this *RedisPS) HandleContext(cCtx *cli.Context) error
- func (this *RedisPS) ModifyOptions(fn func(opts *redis.Options) *redis.Options)
- func (this *RedisPS) SetCategory(category string) *RedisPS
- func (this *RedisPS) SetPrefix(prefix string) *RedisPS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisPS ¶
type RedisPS struct { RedisUrl helpers.FlagHelper RedisPrefix helpers.FlagHelper // contains filtered or unexported fields }
func NewRedisPS ¶
func NewRedisPS() *RedisPS
func (*RedisPS) EnablePrefixFlag ¶
func (*RedisPS) GetInstance ¶
func (*RedisPS) HandleCommand ¶
func (*RedisPS) HandleContext ¶
func (*RedisPS) ModifyOptions ¶
func (*RedisPS) SetCategory ¶
Click to show internal directories.
Click to hide internal directories.