storage

package
v0.0.0-...-86283f3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Store

type Store interface {
	// key may contain / and ., for example user/account.json
	SetKV(key string, value []byte, expiration time.Duration) error

	GetKV(key string) ([]byte, error)

	DeleteKV(key string) error

	LockCert(domain string, timeout time.Duration) (bool, error)
	UnlockCert(domain string) error
}

Directories

Path Synopsis
stores

Jump to

Keyboard shortcuts

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