Documentation ¶
Index ¶
- func Execute() error
- type Config
- type Redis
- func (r *Redis) Delete(ctx context.Context, key string) error
- func (r *Redis) Get(ctx context.Context, key string) ([]byte, error)
- func (r *Redis) Handler(conn redcon.Conn, cmd redcon.Command)
- func (r *Redis) Keys(ctx context.Context, key string) ([]string, error)
- func (r *Redis) Set(ctx context.Context, key string, value []byte) error
- type S3
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Version string `mapstructure:"version"` UseCache bool `mapstructure:"use_cache"` UseDirtyWrite bool `mapstructure:"use_dirty_write"` Redis struct { Port string `mapstructure:"port"` Bind string `mapstructure:"bind"` Password interface{} `mapstructure:"password"` } `mapstructure:"redis"` S3 struct { Version string `mapstructure:"version"` Bucket string `mapstructure:"bucket"` Region string `mapstructure:"region"` AccessKey string `mapstructure:"access_key"` SecretKey string `mapstructure:"secret_key"` Prefix string `mapstructure:"prefix"` Endpoint string `mapstructure:"endpoint"` } `mapstructure:"s3"` }
Click to show internal directories.
Click to hide internal directories.