Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 177 Bytes
package cache
import "time"
//Storage mecanism for caching strings
type Storage interface {
Get(key string) []byte
Set(key string, content []byte, duration time.Duration)
}