config

package
v0.0.0-...-c1be29f Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultLogLevel      = "info"
	DefaultPort          = 9090
	DefaultBindInterface = "0.0.0.0"
	AppName              = "rpi_export"
)

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(c *Config)

func ValidateConfig

func ValidateConfig(c *Config) error

Types

type Config

type Config struct {
	AtomLogger       zap.AtomicLevel
	LogLevel         string
	BindInterface    string
	Port             int
	HostNameOverride string
	MailboxDebug     bool

	Address string
}

Jump to

Keyboard shortcuts

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