cmd

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string
	Commit  string
)

Functions

func Execute

func Execute()

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns the root command.

func ReadFromFileAndDecrypt

func ReadFromFileAndDecrypt(filename string, password []byte) ([]byte, error)

ReadFromFileAndDecrypt reads ciphertext from a file and decrypts it using the password into a `crypto.PrivateKey`

Types

type Operator added in v0.4.2

type Operator struct {
	Id     uint64 `toml:"id"`
	Pubkey string `toml:"pubkey"`
}

type SsvOperators added in v0.4.2

type SsvOperators struct {
	Operators []Operator `toml:"operators"`
}

Jump to

Keyboard shortcuts

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