SYMBOL INDEX (112 symbols across 19 files) FILE: bolt/bolt.go type bolt (line 17) | type bolt struct method read (line 32) | func (b *bolt) read(key string) (*boltContent, error) { method Contains (line 65) | func (b *bolt) Contains(key string) bool { method Delete (line 71) | func (b *bolt) Delete(key string) error { method Fetch (line 82) | func (b *bolt) Fetch(key string) (string, error) { method FetchMulti (line 92) | func (b *bolt) FetchMulti(keys []string) map[string]string { method Flush (line 105) | func (b *bolt) Flush() error { method Save (line 112) | func (b *bolt) Save(key string, value string, lifeTime time.Duration) ... type boltContent (line 21) | type boltContent struct function New (line 28) | func New(db *bt.DB) cachego.Cache { FILE: bolt/bolt_test.go constant testKey (line 13) | testKey = "foo" constant testValue (line 14) | testValue = "bar" function TestBolt (line 17) | func TestBolt(t *testing.T) { FILE: cache.go type Cache (line 9) | type Cache interface FILE: chain/chain.go type chain (line 13) | type chain struct method Contains (line 24) | func (c *chain) Contains(key string) bool { method Delete (line 35) | func (c *chain) Delete(key string) error { method Fetch (line 46) | func (c *chain) Fetch(key string) (string, error) { method FetchMulti (line 59) | func (c *chain) FetchMulti(keys []string) map[string]string { method Flush (line 72) | func (c *chain) Flush() error { method Save (line 83) | func (c *chain) Save(key string, value string, lifeTime time.Duration)... function New (line 19) | func New(drivers ...cachego.Cache) cachego.Cache { FILE: chain/chain_test.go constant testKey (line 13) | testKey = "foo" constant testValue (line 14) | testValue = "bar" function TestChain (line 17) | func TestChain(t *testing.T) { FILE: errors.go type err (line 3) | type err method Error (line 6) | func (e err) Error() string { constant ErrCacheExpired (line 12) | ErrCacheExpired = err("cache expired") constant ErrFlush (line 15) | ErrFlush = err("unable to flush") constant ErrSave (line 18) | ErrSave = err("unable to save") constant ErrDelete (line 21) | ErrDelete = err("unable to delete") constant ErrDecode (line 24) | ErrDecode = err("unable to decode") FILE: errors_test.go function TestError (line 8) | func TestError(t *testing.T) { FILE: file/file.go type file (line 18) | type file struct method createName (line 36) | func (f *file) createName(key string) string { method read (line 44) | func (f *file) read(key string) (*fileContent, error) { method Contains (line 66) | func (f *file) Contains(key string) bool { method Delete (line 80) | func (f *file) Delete(key string) error { method Fetch (line 93) | func (f *file) Fetch(key string) (string, error) { method isExpired (line 107) | func (f *file) isExpired(content *fileContent) bool { method FetchMulti (line 112) | func (f *file) FetchMulti(keys []string) map[string]string { method Flush (line 125) | func (f *file) Flush() error { method Save (line 148) | func (f *file) Save(key string, value string, lifeTime time.Duration) ... type fileContent (line 23) | type fileContent struct constant perm (line 29) | perm = 0o666 function New (line 32) | func New(dir string) cachego.Cache { FILE: file/file_test.go constant testKey (line 10) | testKey = "foo" constant testValue (line 11) | testValue = "bar" function TestFile (line 14) | func TestFile(t *testing.T) { FILE: memcached/memcached.go type memcached (line 11) | type memcached struct method Contains (line 21) | func (m *memcached) Contains(key string) bool { method Delete (line 27) | func (m *memcached) Delete(key string) error { method Fetch (line 32) | func (m *memcached) Fetch(key string) (string, error) { method FetchMulti (line 42) | func (m *memcached) FetchMulti(keys []string) map[string]string { method Flush (line 58) | func (m *memcached) Flush() error { method Save (line 63) | func (m *memcached) Save(key string, value string, lifeTime time.Durat... function New (line 16) | func New(driver *memcache.Client) cachego.Cache { FILE: memcached/memcached_test.go constant testKey (line 12) | testKey = "foo" constant testValue (line 13) | testValue = "bar" function TestMemcached (line 16) | func TestMemcached(t *testing.T) { FILE: mongo/mongo.go type mongoCache (line 15) | type mongoCache struct method Contains (line 36) | func (m *mongoCache) Contains(key string) bool { method Delete (line 42) | func (m *mongoCache) Delete(key string) error { method Fetch (line 48) | func (m *mongoCache) Fetch(key string) (string, error) { method FetchMulti (line 73) | func (m *mongoCache) FetchMulti(keys []string) map[string]string { method Flush (line 98) | func (m *mongoCache) Flush() error { method Save (line 104) | func (m *mongoCache) Save(key string, value string, lifeTime time.Dura... type mongoContent (line 19) | type mongoContent struct function New (line 27) | func New(collection *mongo.Collection) cachego.Cache { function NewMongoDriver (line 32) | func NewMongoDriver(collection *mongo.Collection) cachego.Cache { FILE: mongo/mongo_test.go constant testKeyMongo (line 13) | testKeyMongo = "foo1" constant testValueMongo (line 14) | testValueMongo = "bar" function TestMongo (line 17) | func TestMongo(t *testing.T) { FILE: redis/redis.go type redis (line 13) | type redis struct method Contains (line 23) | func (r *redis) Contains(key string) bool { method Delete (line 29) | func (r *redis) Delete(key string) error { method Fetch (line 34) | func (r *redis) Fetch(key string) (string, error) { method FetchMulti (line 39) | func (r *redis) FetchMulti(keys []string) map[string]string { method Flush (line 57) | func (r *redis) Flush() error { method Save (line 62) | func (r *redis) Save(key string, value string, lifeTime time.Duration)... function New (line 18) | func New(driver rd.Cmdable) cachego.Cache { FILE: redis/redis_test.go constant testKey (line 12) | testKey = "foo" constant testValue (line 13) | testValue = "bar" function TestRedis (line 16) | func TestRedis(t *testing.T) { FILE: sqlite3/sqlite3.go type sqlite3 (line 13) | type sqlite3 struct method Contains (line 36) | func (s *sqlite3) Contains(key string) bool { method Delete (line 42) | func (s *sqlite3) Delete(key string) error { method Fetch (line 69) | func (s *sqlite3) Fetch(key string) (string, error) { method FetchMulti (line 102) | func (s *sqlite3) FetchMulti(keys []string) map[string]string { method Flush (line 115) | func (s *sqlite3) Flush() error { method Save (line 139) | func (s *sqlite3) Save(key string, value string, lifeTime time.Duratio... function New (line 20) | func New(db *sql.DB, table string) (cachego.Cache, error) { function createTable (line 24) | func createTable(db *sql.DB, table string) error { FILE: sqlite3/sqlite3_test.go constant testKey (line 14) | testKey = "foo" constant testValue (line 15) | testValue = "bar" constant testTable (line 16) | testTable = "cache" constant testDBPath (line 17) | testDBPath = "/cache.db" function TestSqlite3 (line 20) | func TestSqlite3(t *testing.T) { function TestSqlite3Fail (line 75) | func TestSqlite3Fail(t *testing.T) { FILE: sync/map.go type syncMapItem (line 13) | type syncMapItem struct type syncMap (line 18) | type syncMap struct method read (line 28) | func (sm *syncMap) read(key string) (*syncMapItem, error) { method Contains (line 49) | func (sm *syncMap) Contains(key string) bool { method Delete (line 55) | func (sm *syncMap) Delete(key string) error { method Fetch (line 61) | func (sm *syncMap) Fetch(key string) (string, error) { method FetchMulti (line 71) | func (sm *syncMap) FetchMulti(keys []string) map[string]string { method Flush (line 84) | func (sm *syncMap) Flush() error { method Save (line 90) | func (sm *syncMap) Save(key string, value string, lifeTime time.Durati... function New (line 24) | func New() cachego.Cache { FILE: sync/map_test.go constant testKey (line 9) | testKey = "foo" constant testValue (line 10) | testValue = "bar" function TestSyncMap (line 13) | func TestSyncMap(t *testing.T) {