Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCacheSize ¶
set Cache size called from cache component to set parameter before first use
Types ¶
type CacheInterface ¶
func NewCacheParition ¶
func NewCacheParition() (CacheInterface, error)
create a new cache partition initializes the cache if not already happened
type CachePartition ¶
type CachePartition struct { CacheInterface // contains filtered or unexported fields }
cache using the fastcache instance
func (*CachePartition) Add ¶
func (c *CachePartition) Add(key []byte, value []byte)
Click to show internal directories.
Click to hide internal directories.