envfile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package envfile reads the strict environment files generated for broker services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (map[string]string, error)

Load reads a broker environment file without interpreting shell syntax.

func OverlayLookup

func OverlayLookup(values map[string]string, primary func(string) string) func(string) string

OverlayLookup returns primary values first, then values loaded from a file.

func Parse

func Parse(data []byte) (map[string]string, error)

Parse parses literal KEY=VALUE assignments. Blank lines and comments are allowed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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