key

package
v0.0.0-...-860e413 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotSingleFlag = errors.New("masterkey must either be provided by file path, value or environment variable")
)

Functions

func AddMasterKeyFlag

func AddMasterKeyFlag(cmd *cobra.Command)

func MasterKey

func MasterKey(cmd *cobra.Command) (string, error)

func New

func New() *cobra.Command

Types

type Config

type Config struct {
	Database database.Config
}

Jump to

Keyboard shortcuts

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