cache

package
v0.0.0-...-3757fb7 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartClient

func StartClient(cfg RedisConfig) (client, error)

Types

type GetterSetter

type GetterSetter interface {
	Get(string) (string, error)
	Set(string, interface{}, time.Duration) error
}

type RedisConfig

type RedisConfig struct {
	Addr     string
	Password string
	DB       int
}

Jump to

Keyboard shortcuts

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