keychain

package
v0.0.0-...-a2b917b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential interface {
	Service(ctx context.Context) (string, error)
	Data(ctx context.Context) ([]byte, error)
	SetData(ctx context.Context, bytes []byte) error
}

type Import

type Import interface{}

type Keychain

type Keychain interface {
	Create(ctx context.Context, service string) (Credential, error)
	Get(ctx context.Context, service string) (Credential, error)
	Has(ctx context.Context, service string) (bool, error)
	List(ctx context.Context) ([]Credential, error)
}

Jump to

Keyboard shortcuts

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