cache

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func NewCache

func NewCache(ip string, port string, prefix string) *Cache

func (*Cache) ClearAll

func (c *Cache) ClearAll() error

func (*Cache) GET

func (c *Cache) GET(tag string, key string) (string, error)

func (*Cache) SETNX

func (c *Cache) SETNX(tag string, key string, value string, t int) error

Jump to

Keyboard shortcuts

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