Documentation ¶
Overview ¶
Package cache provides a pluggable backend for persistent record storage.
Index ¶
- func AddRecord(resource *shaman.Resource) error
- func DeleteRecord(domain string) error
- func Exists() bool
- func GetRecord(domain string) (*shaman.Resource, error)
- func Initialize() error
- func ListRecords() ([]shaman.Resource, error)
- func ResetRecords(resources *[]shaman.Resource) error
- func UpdateRecord(domain string, resource *shaman.Resource) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRecord ¶
DeleteRecord removes a record from the persistent cache
func ListRecords ¶
ListRecords lists all records in the persistent cache
func ResetRecords ¶
ResetRecords replaces all records in the persistent cache
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.