cache

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func New

func New(filePath string) Cache

func (Cache) Delete

func (self Cache) Delete() bool

func (Cache) ReadBytes

func (self Cache) ReadBytes(cb func() []byte) (data []byte, err error)

func (Cache) WriteBytes

func (self Cache) WriteBytes(bytes []byte) (err error)

Jump to

Keyboard shortcuts

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