config

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const (
	Name = "dodo"

	ConfKeyConfigFiles = "config-files"
	ConfKeyLogLevel    = "log-level"
	ConfKeyLogFile     = "log-file"
	ConfKeyAppDir      = "app-dir"
	ConfKeyProfile     = "profile"

	DefaultLogLevel = "INFO"
	DefaultAppDir   = "/var/lib/dodo"
)

Variables

This section is empty.

Functions

func Configure

func Configure()

func GetAppDir

func GetAppDir() string

func GetConfigFiles

func GetConfigFiles() []string

func GetLoggerOptions

func GetLoggerOptions() *log.LoggerOptions

func GetPluginDir

func GetPluginDir() string

func GetPluginLoggerOptions

func GetPluginLoggerOptions() *log.LoggerOptions

func GetProfile added in v0.10.1

func GetProfile() string

func LogLevel

func LogLevel() log.Level

func LogOutput

func LogOutput() io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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