Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

docs: Updated storage interface documentation #3216

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions spi/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ type Store interface {
// with data put in and data retrieved, as the marshalled representation may be different - always unmarshal data
// first before comparing.
// If key is empty or value is nil, then an error will be returned.
// A single key-value pair cannot have multiple tags that share the same tag name.
Put(key string, value []byte, tags ...Tag) error

// Get fetches the value associated with the given key.
Expand Down