keystore

package module
v0.0.0-...-9673488 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const ErrMultipleKeystoreItemsFound = "multiple keystore items found"
View Source
const ErrWrongPlatform = "wrong platform"

Variables

This section is empty.

Functions

func NewKeystore

func NewKeystore(serviceName string) keystore

func NewMockKeystore

func NewMockKeystore(err error, items map[string]string) *mockKeystore

Types

type Keystore

type Keystore interface {
	Get(key string) (string, error)
	Set(key string, value string) error
}

Jump to

Keyboard shortcuts

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