//
pkg.gl
Category
github.com/semihalev/sdns
cache
package
1.4.0
Repository:
https://github.com/semihalev/sdns.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
4
Files
159 SLOC
#
Functions
AcquireBuf
AcquireBuf returns a buf from pool.
AcquireHash
AcquireHash returns a hash from pool.
Hash
Hash returns a hash for cache.
New
New returns a new cache.
ReleaseBuf
ReleaseBuf returns buf to pool.
ReleaseHash
ReleaseHash returns hash to pool.
#
Variables
ErrCacheExpired
ErrCacheExpired error.
ErrCacheNotFound
ErrCacheNotFound error.
#
Structs
Cache
Cache is cache.