conf

package
v4.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package conf provides shared configuration handling utilities for all services

Index

Constants

View Source
const (
	ConfigFile = "config"

	LogDestination = loggingKey + ".destination"
	LogEncoding    = loggingKey + ".encoding"
	LogLevel       = loggingKey + ".level"
)
View Source
const (
	DefaultLogEncoding = "logfmt"
	DefaultLogLevel    = "info"
)

Global defaults for command line parameters / arguments

Variables

This section is empty.

Functions

func RegisterFlags

func RegisterFlags(cmd *cobra.Command) error

RegisterFlags registers all command line flags for the configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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