Documentation ¶ Index ¶ type RedisProvider func New(options *redis.Options) (*RedisProvider, error) func (p *RedisProvider) Get(_ context.Context, key string) ([]byte, error) func (p *RedisProvider) Set(_ context.Context, key string, value []byte, expiry time.Duration) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type RedisProvider ¶ type RedisProvider struct { // contains filtered or unexported fields } func New ¶ func New(options *redis.Options) (*RedisProvider, error) func (*RedisProvider) Get ¶ func (p *RedisProvider) Get(_ context.Context, key string) ([]byte, error) func (*RedisProvider) Set ¶ func (p *RedisProvider) Set(_ context.Context, key string, value []byte, expiry time.Duration) error Source Files ¶ View all Source files provider.go Click to show internal directories. Click to hide internal directories.