Versions in this module Expand all Collapse all v1 v1.0.3 May 3, 2020 v1.0.2 May 2, 2020 Changes in this version + var CachePool = cachePool2 + var IDCachePool = cachePool + var SyncPool = sync.Pool + func Apply(size int) (id int32) + func Delete(id int32) + func DeleteAll() + func Existed(id int32) bool + func Get(id int32) []byte + func RawByteSlice(size int) (b []byte) + func RawMalloc(size int) unsafe.Pointer + func RawMallocByteSlice(size int) []byte + func Set(id int32, size int) []byte + func SetIfNotExist(id int32, size int) []byte + func SetSyncPoolSize(size int) + type Cache interface + Bytes func() []byte + Free func() + func Require(size int) Cache