fcache

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 4 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 Load

func Load(filename string) (*Cache, error)

func (*Cache) All

func (cache *Cache) All() map[string]interface{}

func (*Cache) Clear

func (cache *Cache) Clear()

func (*Cache) Delete

func (cache *Cache) Delete(key string) error

func (*Cache) Get

func (cache *Cache) Get(key string) interface{}

func (*Cache) GetString

func (cache *Cache) GetString(key string) (string, bool)

func (*Cache) Load

func (cache *Cache) Load() error

func (*Cache) Save

func (cache *Cache) Save() error

func (*Cache) Set

func (cache *Cache) Set(key string, value interface{})

Jump to

Keyboard shortcuts

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