view

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type Config

type Config struct {
	Version      int
	Address      string
	TLSConfig    comm.Config
	SignerConfig signer.Config
}

Config aggregates configuration of TLS and signing

func ConfigFromFile

func ConfigFromFile(file string) (Config, error)

ConfigFromFile loads the given file and converts it to a Config

func (Config) ToFile

func (c Config) ToFile(file string) error

ToFile writes the config into a file

Jump to

Keyboard shortcuts

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