configloader

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromEnv

func FromEnv(prefix string) (*hyperlogger.Config, error)

FromEnv builds a configuration instance using environment variables with the provided prefix using Viper.

func FromFile

func FromFile(path string) (*hyperlogger.Config, error)

FromFile loads configuration from the given file path using Viper.

func FromYAML

func FromYAML(data []byte) (*hyperlogger.Config, error)

FromYAML parses the provided YAML document into a configuration instance using Viper.

Types

This section is empty.

Jump to

Keyboard shortcuts

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