defaultconfig

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config []byte

Config contains the embedded default configuration shipped in the binary — the baseline every zero-config user gets. The file is generated by the build process (make build) from defaultConfig/.plumber.yaml, NOT from the repo-root .plumber.yaml (which is Plumber's own self-scan config). The two are independent artifacts (getplumber/plumber#352): editing Plumber's self-scan config never silently changes the shipped default.

Functions

func Get

func Get() []byte

Get returns the embedded default configuration as a byte slice, with the build-time header comment stripped for clean user output.

func GetRaw added in v0.1.29

func GetRaw() []byte

GetRaw returns the raw embedded configuration including the build header. Use this only for debugging or internal purposes.

func GetString

func GetString() string

GetString returns the embedded default configuration as a string, with the build-time header comment stripped for clean user output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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