file

package
v0.5.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: 10 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