redis

package
v0.0.0-...-c18a219 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(opts data.Map) (*Provider, error)

func (*Provider) Exist

func (p *Provider) Exist(key string) (bool, error)

func (*Provider) Get

func (p *Provider) Get(key string) (v data.Value, err error)

func (*Provider) Remove

func (p *Provider) Remove(key string) error

func (*Provider) Set

func (p *Provider) Set(key string, value interface{}, expiry time.Duration) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL