Documentation ¶
Index ¶
- type NoCache
- func (nc *NoCache) Close()
- func (nc *NoCache) Conn(ctx context.Context) (remember.Cacher, error)
- func (nc *NoCache) Forget(key string) error
- func (nc *NoCache) ForgetAll() error
- func (nc *NoCache) Get(key string) (_ interface{}, found bool, _ error)
- func (nc *NoCache) Set(key string, expiration time.Duration, itemToStore interface{}) error
- func (nc *NoCache) StorePointer() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoCache ¶
type NoCache struct{}
NoCache is used for testing purposes.
func (*NoCache) Close ¶
func (nc *NoCache) Close()
Close returns the connection back to the pool for storage drivers that utilize a pool.
func (*NoCache) StorePointer ¶
StorePointer sets whether a storage driver requires itemToStore to be stored as a pointer or as a concrete value.
Click to show internal directories.
Click to hide internal directories.