package kv
import "git.sr.ht/~xn/cache/v2/kv"
Index ¶
Types ¶
type KV ¶
KV - Key Value store
func New ¶
New KV store
func (*KV[V]) Get ¶
Get an item from store
func (*KV[V]) Has ¶
Has check if an item exists in store
func (*KV[V]) Purge ¶
func (c *KV[V]) Purge()
Purge store
func (*KV[V]) Remove ¶
Remove an item from store
func (*KV[V]) Set ¶
Set an item to store
Source Files ¶
- Version
- v2.1.0 (latest)
- Published
- Aug 29, 2022
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 3 months ago –
Tools for package owners.