configyaml

package
v0.1.12 Latest Latest
Warning

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

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

Documentation

Overview

Package configyaml decodes YAML runtime configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data []byte) (*config.Config, error)

Decode decodes, defaults, and validates a YAML configuration.

func Encode added in v0.1.11

func Encode(cfg *config.Config) ([]byte, error)

Encode returns the deterministic export encoding of cfg. It is the payload format of configuration store revisions.

func Load

func Load(path string) (*config.Config, error)

Load reads and decodes a YAML configuration file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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