Documentation ¶ Index ¶ Constants type Cache func Open(path string) (*Cache, error) func (c *Cache) Close() error func (c *Cache) Err() error func (c *Cache) Set(key string, value []byte) (changed bool) Constants ¶ View Source const ValueSize = 28 Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Cache ¶ type Cache struct { // contains filtered or unexported fields } func Open ¶ func Open(path string) (*Cache, error) func (*Cache) Close ¶ func (c *Cache) Close() error func (*Cache) Err ¶ func (c *Cache) Err() error func (*Cache) Set ¶ func (c *Cache) Set(key string, value []byte) (changed bool) Set sets the key to value, returning false if the last call to Set for this key provided an identical value, true otherwise. Note in particular that if an underlying error occures true will be returned. Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.