Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheOnDisk ¶
type CacheOnDisk struct {
// contains filtered or unexported fields
}
var DefaultCache *CacheOnDisk
func New ¶
func New(applicationName, name string, encryptionKey []byte) (*CacheOnDisk, error)
New instanciate a new cache object. The encryptionKey parameter is here for obscurity purpose.
func (*CacheOnDisk) Get ¶
func (c *CacheOnDisk) Get(key string) string
Click to show internal directories.
Click to hide internal directories.