memory

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package memory 以内存形式存储缓存内容

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(gc time.Duration) cache.Cache

New 声明一个内存缓存

size 表示初始时的记录数量; gc 表示执行回收操作的间隔。

Types

This section is empty.

Jump to

Keyboard shortcuts

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