config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ZeroLogJournalDDisabled bool // used by viper to store the status of the --disable-journal-logger flag
	ZeroLogNoColor          bool // used by viper to store the status of the --no-color flag
	ZeroLogEnableJSONLogger bool // used by viper to store the status of the --enable-json-logger flag
)

Functions

func InitZeroLog added in v0.4.0

func InitZeroLog()

func Read

func Read() error

Read (or re-read) the config from external source

func Watch

func Watch()

Types

type Config

type Config struct {
	Api struct {
		Authorization      string
		TLSPrivateKeyPath  string
		TLSCertificatePath string
	}
}

func GetConfig

func GetConfig() Config

Get copy of running config

Jump to

Keyboard shortcuts

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