cache

package
v0.0.0-...-61a89f6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: AGPL-3.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearBlocksIAL

func ClearBlocksIAL()

func ClearDocsIAL

func ClearDocsIAL()

func ExistAsset

func ExistAsset(path string) (ret bool)

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