package
1.0.0
Repository: https://github.com/phanitejak/kptgolib.git
Documentation: pkg.go.dev

# Functions

IsErrEmptyValueType tests if given error is of type ErrEmptyValue.
New instantiates new cache with given, already configured go-cache object.
NewDefault instantiates the cache with given expiration time for key and cleanup duration of 2x expiration.

# Variables

ErrDataNotFound is used to designate data not found results.

# Structs

ECache is abstracting go-cache offering caching of ErrEmptyValue errors for empty values.

# Type aliases

ErrEmptyValue is used to define an error as constant.