Documentation
¶
Index ¶
- type PgOptions
- type PgSimCache
- type UpstashOptions
- type UpstashSimCache
- func (cache *UpstashSimCache) BulkDelete(keys []string) error
- func (cache *UpstashSimCache) Delete(key string) error
- func (cache *UpstashSimCache) Flush() error
- func (cache *UpstashSimCache) Get(keyOrKeys interface{}) (interface{}, error)
- func (cache *UpstashSimCache) Set(keyOrKeys interface{}, valueOrValues interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgSimCache ¶
type PgSimCache struct{}
type UpstashOptions ¶
type UpstashSimCache ¶
type UpstashSimCache struct {
// contains filtered or unexported fields
}
func NewSimCache ¶
func NewSimCache(config UpstashOptions) *UpstashSimCache
func (*UpstashSimCache) BulkDelete ¶
func (cache *UpstashSimCache) BulkDelete(keys []string) error
func (*UpstashSimCache) Delete ¶
func (cache *UpstashSimCache) Delete(key string) error
func (*UpstashSimCache) Flush ¶
func (cache *UpstashSimCache) Flush() error
func (*UpstashSimCache) Get ¶
func (cache *UpstashSimCache) Get(keyOrKeys interface{}) (interface{}, error)
func (*UpstashSimCache) Set ¶
func (cache *UpstashSimCache) Set(keyOrKeys interface{}, valueOrValues interface{}) error
Click to show internal directories.
Click to hide internal directories.