configs

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port     string `required:"true" split_words:"true"`
	Protocol string `required:"true" split_words:"true"`

	HomePath string

	DeviceManagerCertFile string `split_words:"true"`
	DeviceManagerAddress  string `split_words:"true"`

	MutualTLSEnabled  bool   `split_words:"true"`
	MutualTLSClientCA string `split_words:"true"`
	BootstrapCert     string `split_words:"true"`
	CertFile          string `split_words:"true"`
	KeyFile           string `split_words:"true"`
}

func NewConfig

func NewConfig(prefix string) (error, Config)

Jump to

Keyboard shortcuts

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