file

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package file 文件缓存的实现

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(root string, gc time.Duration, errlog *log.Logger) cache.Cache

New 返回基于文件系统的缓存

root 文件系统的根目录; gc 表示执行回收操作的间隔。

Types

This section is empty.

Jump to

Keyboard shortcuts

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