launch

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(data []byte, lookup LookupFunc) (*core.Config, error)

func Logs

func Logs(lc core.LoggingConfig) (*log.Registry, error)

func RenderEnvYAML

func RenderEnvYAML(in []byte, lookup LookupFunc) ([]byte, error)

RenderEnvYAML performs $env substitution first, then interpolates any _-prefixed keys. Returns error if required env or interpolated config fields are missing.

Types

type LookupFunc

type LookupFunc func(string) (string, bool)

type MissingEnvError

type MissingEnvError struct {
	Missing []string
}

func (*MissingEnvError) Error

func (e *MissingEnvError) Error() string

Jump to

Keyboard shortcuts

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