package
Version:
v0.0.0-...-22fe7c1
Opens a new window with list of versions in this module.
Published: Sep 5, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func New(maxBytes int, onEvicted func(key string, value interface{})) cache.Cache
New 创建一个新的 Cache,如果 maxBytes 是 0,表示没有容量限制
Source Files
¶
Click to show internal directories.
Click to hide internal directories.