redis

package
v0.6.1-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisDatastore

type RedisDatastore struct {
	Read, Write *redis.Client
}

func (*RedisDatastore) Get

func (r *RedisDatastore) Get(ctx context.Context, key ds.Key) ([]byte, error)

func (*RedisDatastore) PutWithTTL

func (r *RedisDatastore) PutWithTTL(ctx context.Context, key ds.Key, b []byte, ttl time.Duration) error

Jump to

Keyboard shortcuts

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