fromtoml

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ErrTOML marks a TOML decode failure.
	ErrTOML errs.Const = "toml"
	// ErrJSON marks a JSON encoding failure.
	ErrJSON errs.Const = "json"
)

The package's error vocabulary: errs.Const sentinels matched with errors.Is.

Variables

This section is empty.

Functions

func FromToml

func FromToml(opts ...any) gloo.Command[[]byte, []byte]

FromToml converts a TOML document on the input into a single compact JSON object, letting TOML feed the rest of the json pipeline. The whole input is one document, so it is buffered and emitted as one value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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