cache

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String struct{}

func NewString

func NewString() *String

func (*String) Get

func (s *String) Get(key string) (interface{}, bool)

func (*String) Key

func (s *String) Key(key string) string

func (*String) Set

func (s *String) Set(key, value string, cost int64, ttl time.Duration) bool

Jump to

Keyboard shortcuts

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