package null
import "git.sr.ht/~xn/cache/v2/null"
Index ¶
Types ¶
type Null ¶
type Null[V any] struct{}
Null is empty/stub cache client, usable for testing
func New ¶
New creates new stub client
func (*Null[V]) Get ¶
Get does nothing
func (*Null[V]) Has ¶
Has does nothing
func (*Null[V]) Purge ¶
func (c *Null[V]) Purge()
Purge does nothing
func (*Null[V]) Remove ¶
Remove does nothing
func (*Null[V]) Set ¶
Set does nothing
Source Files ¶
- Version
- v2.1.0 (latest)
- Published
- Aug 29, 2022
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 23 hours ago –
Tools for package owners.