Documentation ¶
Index ¶
- type Cache
- func (this *Cache) Decrement(key string, value ...int64) error
- func (this *Cache) Flush() (bool, error)
- func (this *Cache) Forever(key string, value any) error
- func (this *Cache) Forget(key string) (bool, error)
- func (this *Cache) Get(key string) (any, error)
- func (this *Cache) GetConfig(name string) goch.Goch
- func (this *Cache) GetDriver() interfaces.Driver
- func (this *Cache) GetPrefix() string
- func (this *Cache) Has(key string) bool
- func (this *Cache) Increment(key string, value ...int64) error
- func (this *Cache) Pull(key string) (any, error)
- func (this *Cache) Put(key string, value any, ttl any) error
- func (this *Cache) WithConfig(config Config) *Cache
- func (this *Cache) WithDriver(driver interfaces.Driver) *Cache
- func (this *Cache) WithPrefix(prefix string) *Cache
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.