config

package
v0.0.0-...-1f1cd5d Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package config handles application configuration loading.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadServerConfiguration

func LoadServerConfiguration(ctx context.Context, path string) (*schema.Configuration, error)

LoadServerConfiguration loads server yaml configuration by given path and merges with defined env vars.

It strictly validates yaml file contents, so will fail in case yaml structure is incorrect.

File contents are hashed. Env vars are loaded each time function is called.

Types

This section is empty.

Directories

Path Synopsis
Package schema contains shared configuration definitions.
Package schema contains shared configuration definitions.

Jump to

Keyboard shortcuts

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