cacheclient

package
v0.0.0-...-c9a23b1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisClient

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

func (*RedisClient) Cleanup

func (rc *RedisClient) Cleanup()

func (*RedisClient) Exists

func (rc *RedisClient) Exists(key string) (bool, error)

func (*RedisClient) Get

func (rc *RedisClient) Get(key string) (string, error)

func (*RedisClient) Init

func (rc *RedisClient) Init()

func (*RedisClient) Set

func (rc *RedisClient) Set(key, val string, expiration time.Duration) error

Jump to

Keyboard shortcuts

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