cache

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserCache

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

func NewUserCache

func NewUserCache() UserCache

func (UserCache) Get

func (u UserCache) Get(k string) string

func (UserCache) HasKey

func (u UserCache) HasKey(k string) bool

func (UserCache) HasValue

func (u UserCache) HasValue(value string) bool

func (UserCache) Remove

func (u UserCache) Remove(k string)

func (UserCache) Store

func (u UserCache) Store(k string, v string)

func (UserCache) Values

func (u UserCache) Values() []string

Jump to

Keyboard shortcuts

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