config

package
v0.0.0-...-547473f Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: MIT Imports: 3 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 {
	AdminAddress string `yaml:"admin_address"`
	BearerToken  string `yaml:"bearer_token"`
	TLS          *struct {
		CertificateFilename string `yaml:"certificate_filename"`
		KeyFilename         string `yaml:"key_filename"`
	} `yaml:"tls"`
	DBFilename           string   `yaml:"db_filename"`
	ConfiguratorFilename string   `yaml:"configurator_filename"`
	ConfiguratorCommand  []string `yaml:"configurator_command"`
	IP                   *string  `yaml:"ip"`
	Hostname             *string  `yaml:"hostname"`
}

func New

func New(filename string) (*Config, error)

Jump to

Keyboard shortcuts

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