cache

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheList

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

CacheList sample map

func NewCacheList

func NewCacheList(name string) *CacheList

NewCacheList get CacheList instance

func (*CacheList) Delete

func (b *CacheList) Delete(key string)

Delete del key

func (*CacheList) Exists

func (b *CacheList) Exists(key string) bool

Exists exists key,notfound return false

func (*CacheList) Put

func (b *CacheList) Put(key string)

Put put key

Jump to

Keyboard shortcuts

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