cache

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearDocsIAL

func ClearDocsIAL()

func GetAssets

func GetAssets() (ret map[string]*Asset)

func GetBlockIAL

func GetBlockIAL(id string) (ret map[string]string)

func GetDocIAL

func GetDocIAL(p string) (ret map[string]string)

func LoadAssets

func LoadAssets()

func PutBlockIAL

func PutBlockIAL(id string, ial map[string]string)

func PutDocIAL

func PutDocIAL(p string, ial map[string]string)

func RemoveAsset

func RemoveAsset(path string)

func RemoveBlockIAL

func RemoveBlockIAL(id string)

func RemoveDocIAL

func RemoveDocIAL(p string)

Types

type Asset

type Asset struct {
	HName   string `json:"hName"`
	Path    string `json:"path"`
	Updated int64  `json:"updated"`
}

Jump to

Keyboard shortcuts

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