cache

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache(defaultSecond uint, autoCleanSecond uint) *cache

NewCache 创建一个缓存 defaultSecond 缓存默认过期时间 autoCleanSecond 间隔自动清理时间

Types

type Data

type Data struct {
	App interface{}
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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