redis

package
v0.0.0-...-716bffc Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 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 Redis

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

func NewRedis

func NewRedis(connPool *redis.Pool) *Redis

func (*Redis) DeleteMulti

func (r *Redis) DeleteMulti(_ context.Context, projectID string, keys []*datastore.Key) (err error)

func (*Redis) GetMulti

func (r *Redis) GetMulti(
	_ context.Context,
	projectID string,
	keys []*datastore.Key,
) (items []*datastore.EntityResult, err error)

func (*Redis) SetMulti

func (r *Redis) SetMulti(_ context.Context, projectID string, items []*datastore.EntityResult) (err error)

Jump to

Keyboard shortcuts

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