SYMBOL INDEX (101 symbols across 12 files) FILE: dist/dist.go constant topic (line 13) | topic = "orca-zhang/ecache" type RedisCli (line 16) | type RedisCli interface function delAll (line 28) | func delAll(pool, key string) { function Init (line 37) | func Init(r RedisCli) { function Bind (line 66) | func Bind(pool string, caches ...*ecache.Cache) error { function OnDel (line 73) | func OnDel(pool, key string) error { FILE: dist/dist_test.go type DIYCli (line 11) | type DIYCli struct method OK (line 17) | func (d *DIYCli) OK() bool { method Pub (line 22) | func (d *DIYCli) Pub(channel, payload string) error { method Sub (line 28) | func (d *DIYCli) Sub(channel string, callback func(payload string)) er... function Take (line 39) | func Take(ok *bool) RedisCli { function TestBind (line 46) | func TestBind(t *testing.T) { function TestInit (line 75) | func TestInit(t *testing.T) { function TestDIYClient (line 83) | func TestDIYClient(t *testing.T) { type PanicCli (line 116) | type PanicCli struct method OK (line 120) | func (d *PanicCli) OK() bool { method Pub (line 125) | func (d *PanicCli) Pub(channel, payload string) error { method Sub (line 130) | func (d *PanicCli) Sub(channel string, callback func(payload string)) ... function TestPanicClient (line 134) | func TestPanicClient(t *testing.T) { FILE: dist/goredis/goredis.go type GoRedisCli (line 10) | type GoRedisCli struct method OK (line 17) | func (g *GoRedisCli) OK() bool { method Pub (line 23) | func (g *GoRedisCli) Pub(channel, payload string) error { method Sub (line 29) | func (g *GoRedisCli) Sub(channel string, callback func(payload string)... function Take (line 43) | func Take(r *redis.Client, size ...int) dist.RedisCli { FILE: dist/goredis/goredis_test.go function init (line 15) | func init() { function TestBind (line 26) | func TestBind(t *testing.T) { function TestDisconnect (line 55) | func TestDisconnect(t *testing.T) { FILE: dist/goredis/v7/goredis.go type GoRedisCli (line 8) | type GoRedisCli struct method OK (line 14) | func (g *GoRedisCli) OK() bool { method Pub (line 20) | func (g *GoRedisCli) Pub(channel, payload string) error { method Sub (line 26) | func (g *GoRedisCli) Sub(channel string, callback func(payload string)... function Take (line 40) | func Take(r *redis.Client, size ...int) dist.RedisCli { FILE: dist/goredis/v7/goredis_test.go function init (line 15) | func init() { function TestBind (line 26) | func TestBind(t *testing.T) { function TestDisconnect (line 55) | func TestDisconnect(t *testing.T) { FILE: dist/redigo/redigo.go type RedigoCli (line 8) | type RedigoCli struct method OK (line 13) | func (g *RedigoCli) OK() bool { method Pub (line 22) | func (g *RedigoCli) Pub(channel, payload string) error { method Sub (line 31) | func (g *RedigoCli) Sub(channel string, callback func(payload string))... function Take (line 48) | func Take(r *redis.Pool) dist.RedisCli { FILE: dist/redigo/redigo_test.go function init (line 15) | func init() { function TestBind (line 28) | func TestBind(t *testing.T) { function TestDisconnect (line 58) | func TestDisconnect(t *testing.T) { FILE: ecache.go function now (line 12) | func now() int64 { return atomic.LoadInt64(&clock) } function init (line 13) | func init() { function hashBKRD (line 26) | func hashBKRD(s string) (hash int32) { function maskOfNextPowOf2 (line 33) | func maskOfNextPowOf2(cap uint16) uint32 { type value (line 43) | type value struct type node (line 48) | type node struct type cache (line 54) | type cache struct method put (line 66) | func (c *cache) put(k string, i *interface{}, b []byte, expireAt int64... method get (line 95) | func (c *cache) get(k string) (*node, int) { method del (line 104) | func (c *cache) del(k string) (_ *node, _ int, e int64) { method walk (line 114) | func (c *cache) walk(walker func(key string, iface *interface{}, bytes... method adjust (line 123) | func (c *cache) adjust(idx, f, t uint16) { function create (line 61) | func create(cap uint32) *cache { type Cache (line 130) | type Cache struct method LRU2 (line 156) | func (c *Cache) LRU2(capPerBkt uint16) *Cache { method put (line 164) | func (c *Cache) put(key string, i *interface{}, b []byte) { method Put (line 181) | func (c *Cache) Put(key string, val interface{}) { c.put(key, &val, ni... method PutInt64 (line 184) | func (c *Cache) PutInt64(key string, d int64) { method PutBytes (line 191) | func (c *Cache) PutBytes(key string, b []byte) { c.put(key, nil, b) } method Get (line 194) | func (c *Cache) Get(key string) (interface{}, bool) { method GetBytes (line 202) | func (c *Cache) GetBytes(key string) ([]byte, bool) { method GetInt64 (line 210) | func (c *Cache) GetInt64(key string) (int64, bool) { method _get (line 217) | func (c *Cache) _get(key string, idx, level int32) (*node, int) { method get (line 225) | func (c *Cache) get(key string) (i *interface{}, b []byte, _ bool) { method Del (line 251) | func (c *Cache) Del(key string) { method Walk (line 270) | func (c *Cache) Walk(walker func(key string, iface *interface{}, bytes... method Inspect (line 291) | func (c *Cache) Inspect(insptr inspector) { function NewLRUCache (line 142) | func NewLRUCache(bucketCnt, capPerBkt uint16, expiration ...time.Duratio... function ToInt64 (line 173) | func ToInt64(b []byte) (int64, bool) { constant PUT (line 281) | PUT = iota + 1 constant GET (line 282) | GET constant DEL (line 283) | DEL type inspector (line 288) | type inspector FILE: ecache_test.go function iface (line 16) | func iface(i interface{}) *interface{} { return &i } type Elem (line 18) | type Elem struct function Test_create (line 23) | func Test_create(t *testing.T) { function Test_put (line 30) | func Test_put(t *testing.T) { function Test_get (line 142) | func Test_get(t *testing.T) { function Test_delete (line 172) | func Test_delete(t *testing.T) { function Test_walk (line 258) | func Test_walk(t *testing.T) { function TestHashBKRD (line 305) | func TestHashBKRD(t *testing.T) { function TestMaskOfNextPowOf2 (line 314) | func TestMaskOfNextPowOf2(t *testing.T) { function TestExpiration (line 341) | func TestExpiration(t *testing.T) { function TestLRUCache (line 364) | func TestLRUCache(t *testing.T) { function TestWalk (line 378) | func TestWalk(t *testing.T) { function TestPutGet (line 407) | func TestPutGet(t *testing.T) { function TestLRU2Cache (line 487) | func TestLRU2Cache(t *testing.T) { function TestConcurrent (line 539) | func TestConcurrent(t *testing.T) { function TestConcurrentLRU2 (line 560) | func TestConcurrentLRU2(t *testing.T) { function TestInspect (line 581) | func TestInspect(t *testing.T) { function TestForIssue7 (line 606) | func TestForIssue7(t *testing.T) { FILE: stats/stats.go type StatsNode (line 13) | type StatsNode struct method HitRate (line 19) | func (s *StatsNode) HitRate() float64 { function Bind (line 29) | func Bind(pool string, caches ...*ecache.Cache) error { function Stats (line 49) | func Stats() *sync.Map { FILE: stats/stats_test.go function TestLRU2Cache (line 12) | func TestLRU2Cache(t *testing.T) { function TestConcurrent (line 121) | func TestConcurrent(t *testing.T) { function TestBindToExistPool (line 147) | func TestBindToExistPool(t *testing.T) {