Versions in this module Expand all Collapse all v1 v1.0.0 Jun 16, 2017 Changes in this version + type Bicache struct + ShardCount uint32 + Size int + func New(c *Config) (*Bicache, error) + func (b *Bicache) Del(k string) + func (b *Bicache) FlushAll() error + func (b *Bicache) FlushMfu() error + func (b *Bicache) FlushMru() error + func (b *Bicache) Get(k string) interface{} + func (b *Bicache) List(n int) ListResults + func (b *Bicache) Pause() error + func (b *Bicache) Resume() error + func (b *Bicache) Set(k string, v interface{}) bool + func (b *Bicache) SetTTL(k string, v interface{}, t int32) bool + func (b *Bicache) Stats() *Stats + type Config struct + AutoEvict uint + EvictLog bool + MfuSize uint + MruSize uint + NoOverflow bool + ShardCount int + type KeyInfo struct + Key string + Score uint64 + State uint8 + type ListResults []*KeyInfo + func (lr ListResults) Len() int + func (lr ListResults) Less(i, j int) bool + func (lr ListResults) Swap(i, j int) + type Shard struct + type Stats struct + Evictions uint64 + Hits uint64 + MfuSize uint + MfuUsedP uint + Misses uint64 + MruSize uint + MruUsedP uint + Overflows uint64 Incompatible versions in this module v2.0.0+incompatible May 17, 2018 Other modules containing this package github.com/jamiealquiza/bicache/v2