keyconf

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MasterKey0 = "master0.key"
	MasterKey1 = "master1.key"

	RawKey = "raw"
)
View Source
const (
	ErrOpen    common.ErrMsg = "Unable to load key"
	ErrParse   common.ErrMsg = "Unable to parse key file"
	ErrUnknown common.ErrMsg = "Unknown algorithm"
)

Errors

Variables

This section is empty.

Functions

This section is empty.

Types

type Master

type Master struct {
	Key0 []byte
	Key1 []byte
}

func LoadMaster

func LoadMaster(path string) (Master, error)

func (Master) MarshalJSON added in v0.6.0

func (m Master) MarshalJSON() ([]byte, error)

func (Master) String

func (m Master) String() string

Jump to

Keyboard shortcuts

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