secrets

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Backend

func Backend() (name string, supported bool)

Types

type Store

type Store interface {
	Get(ctx context.Context, profile string, key string) ([]byte, error)
	Set(ctx context.Context, profile string, key string, value []byte) error
	Delete(ctx context.Context, profile string, key string) error
}

func NewStore

func NewStore() Store

type UnsupportedError

type UnsupportedError struct {
	GOOS string
}

func (*UnsupportedError) Error

func (e *UnsupportedError) Error() string

Jump to

Keyboard shortcuts

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