Versions in this module Expand all Collapse all v1 v1.0.0 Apr 3, 2015 Changes in this version + var BUCKET_COUNT = 16 + type Bucket struct + func (b *Bucket) Get(key string) *Item + func (b *Bucket) Remove(key string) bool + func (b *Bucket) Set(key string, item *Item) bool + type Item struct + Expires time.Time + Value interface{} + type Scache struct + func New(max int32, ttl time.Duration) *Scache + func (sc *Scache) Fetch(key string, miss func(key string) (interface{}, error)) (interface{}, error) + func (sc *Scache) Get(key string) interface{} + func (sc *Scache) Set(key string, value interface{})