config

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTime string = ""
View Source
var CommitHash string = ""
View Source
var Version string = "dev"

Functions

This section is empty.

Types

type AppConfig added in v0.0.7

type AppConfig struct {
	App       string   `mapstructure:"app"`
	LogLevel  string   `mapstructure:"log_level"`
	LogFormat string   `mapstructure:"log_format"`
	CliFlags  CliFlags `mapstructure:"flags"`
}

func LoadAppConfig added in v0.0.7

func LoadAppConfig(configFilePath, prefix string) (*AppConfig, error)

type CliFlags added in v0.0.7

type CliFlags struct {
	Version    bool `mapstructure:"version"`
	Standalone bool `mapstructure:"standalone"`
}

Jump to

Keyboard shortcuts

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