config

package
v0.1.0-testnet Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MPL-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaultConfig

func SetDefaultConfig()

Types

type Config

type Config struct {
	//Global
	LogLevel log.Level //A logrus logLevel
	//PhononCommandSet
	AppletCACert []byte //One of the CA certificates listed in the cert package. Used as default if Certificate not set
	Certificate  string //string ID to select a certificate
}

func DefaultConfig

func DefaultConfig() Config

func LoadConfig

func LoadConfig() (config Config, err error)

Jump to

Keyboard shortcuts

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