data

package
v0.0.0-...-546eb9a Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CallbacksBucket   = "callbacks"
	LastUpdatedBucket = "timestamps"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	GetProperty(namespace, key string) (string, error)
	SetProperty(namespace, key, value string) error
	ReadNamespaceData(namespace string) (map[string]string, error)
	RegisterCallback(namespace, key, callback string) error
}

func NewStorage

func NewStorage(path string) (Storage, error)

Jump to

Keyboard shortcuts

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