cache

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFile

func GetFile(md5 string) (data []byte, err error)

func GetFileStat

func GetFileStat(md5 string) (fs.FileInfo, error)

func SetFile

func SetFile(md5 string, data []byte)

Types

type FileInfo

type FileInfo struct {
	Md5      string
	FilePath string
	Info     fs.FileInfo
}

func Put

func Put(data []byte) (info FileInfo, err error)

Jump to

Keyboard shortcuts

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