keyfile

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrKeyFileParse = fmt.Errorf("keyfile parse error")

Functions

This section is empty.

Types

type KeyFile

type KeyFile struct {
	Domain    string
	Algorithm string
	Secret    string
}

func Parse

func Parse(r io.Reader) (kf *KeyFile, err error)

type UnsupportedAlgorithmError

type UnsupportedAlgorithmError struct {
	Value string
}

func (*UnsupportedAlgorithmError) Error

func (e *UnsupportedAlgorithmError) Error() string

Jump to

Keyboard shortcuts

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