cache

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flush

func Flush()

func IsLockEndPoint

func IsLockEndPoint(path string) bool

func LastResultList

func LastResultList(resourceType string) *stns.Attributes

func LockEndPoint

func LockEndPoint(path string)

func Read

func Read(path string) (stns.Attributes, error)

func ReadMaxID

func ReadMaxID(resourceType string) int

func ReadMinID

func ReadMinID(resourceType string) int

func SaveResultList

func SaveResultList(resourceType string, list stns.Attributes)

func SetWorkDir

func SetWorkDir(path string)

func Write

func Write(path string, attr stns.Attributes, err error)

func WriteID

func WriteID(resourceType, minMax string, id int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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