cache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileCache

type FileCache struct {
	BaseDir string
}

func (*FileCache) Exist

func (f *FileCache) Exist(filename string) bool

func (*FileCache) FullPath

func (f *FileCache) FullPath(filename string) string

func (*FileCache) Key

func (f *FileCache) Key(in, lang string) string

func (*FileCache) Open

func (f *FileCache) Open(filename string) (io.ReadCloser, error)

func (*FileCache) Save

func (f *FileCache) Save(path string, content bytes.Buffer) error

Jump to

Keyboard shortcuts

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