config

package
v0.0.0-...-1a9e666 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(config PasscardConfig) error

Types

type PasscardConfig

type PasscardConfig struct {
	// The hash (filename) of the user's preferred private key.
	// This is typically set to the user's first private key,
	// but `passcard --set-preferred-key` can be used to set it.
	PreferredKey string
}

func Load

func Load() (PasscardConfig, error)

Jump to

Keyboard shortcuts

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