configloader

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: GPL-3.0 Imports: 8 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 loads configuration sourced from environment variables using the provided prefix. Environment keys are normalized by uppercasing and replacing dots with underscores.

func FromFile

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

FromFile loads configuration from a YAML file and merges environment overrides using the default prefix.

func FromYAML

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

FromYAML loads configuration from a YAML document provided as bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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