key_value

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Overview

Package key_value provides access to key value stores within Spin components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(store Store)

func Delete

func Delete(store Store, key string) error

func Exists

func Exists(store Store, key string) (bool, error)

func Get

func Get(store Store, key string) ([]byte, error)

func GetKeys

func GetKeys(store Store) ([]string, error)

func Set

func Set(store Store, key string, value []byte) error

Types

type Store

type Store uint32

func Open

func Open(name string) (Store, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL