cache

package
v0.0.1-100 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: MIT Imports: 5 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OptionArgs

func OptionArgs(args *RedisOptions)

func ToRedis

func ToRedis(cache bank.Cache) *redis.Client

Types

type Redis

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

func NewRedis

func NewRedis(ctx context.Context, options RedisOptions) *Redis

func (*Redis) RDB

func (r *Redis) RDB() bank.RDB

type RedisOptions

type RedisOptions struct {
	bank.ServerOptions
}

Jump to

Keyboard shortcuts

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