Documentation ¶ Index ¶ func DefaultPath() (string, error) type Cache func NewCache(dir string) (*Cache, error) func (cache *Cache) Delete(envkeyParam string) error func (cache *Cache) Read(envkeyParam string) ([]byte, error) func (cache *Cache) Write(envkeyParam string, body []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DefaultPath ¶ added in v1.2.7 func DefaultPath() (string, error) Types ¶ type Cache ¶ type Cache struct { Dir string Done chan error } func NewCache ¶ func NewCache(dir string) (*Cache, error) func (*Cache) Delete ¶ func (cache *Cache) Delete(envkeyParam string) error func (*Cache) Read ¶ func (cache *Cache) Read(envkeyParam string) ([]byte, error) func (*Cache) Write ¶ func (cache *Cache) Write(envkeyParam string, body []byte) error Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.