Documentation ¶
Index ¶
- func Create(ttl time.Duration) wfcache.StorageMaker
- type BigCacheStorage
- func (s *BigCacheStorage) BatchGet(ctx context.Context, keys []string) (results []*wfcache.CacheItem)
- func (s *BigCacheStorage) BatchSet(ctx context.Context, pairs map[string][]byte) error
- func (s *BigCacheStorage) Del(ctx context.Context, key string) error
- func (s *BigCacheStorage) Get(ctx context.Context, key string) *wfcache.CacheItem
- func (s *BigCacheStorage) Set(ctx context.Context, key string, data []byte) error
- func (s *BigCacheStorage) TimeToLive() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BigCacheStorage ¶
type BigCacheStorage struct{}
func (*BigCacheStorage) TimeToLive ¶ added in v0.2.0
func (s *BigCacheStorage) TimeToLive() time.Duration
Click to show internal directories.
Click to hide internal directories.