Documentation ¶
Index ¶
Constants ¶
View Source
const WeaverFastCacheDefaultSize = 32 * 1 << 20 // 32MB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeaverFastCache ¶
type WeaverFastCache interface { Get(_ context.Context, key []byte) ([]byte, error) Set(_ context.Context, key []byte, value []byte) error Del(_ context.Context, key []byte) error Has(_ context.Context, key []byte) (bool, error) HasGet(_ context.Context, key []byte) ([]byte, bool, error) }
WeaverFastCache is a FastCache component for Service Weaver.
https://github.com/VictoriaMetrics/fastcache
Configuration Options:
["gopkg.eu.org/weaverutils/WeaverFastCache"]
Size = 33554432
Click to show internal directories.
Click to hide internal directories.