transform

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownTransformer   = errors.New("unknown transformer")
	ErrInvalidConfiguration = errors.New("invalid configuration")
	ErrNotAJSONInput        = errors.New("not a json input")
)

Functions

This section is empty.

Types

type Transformer

type Transformer interface {
	Transform([]byte) ([]byte, error)
}

func ParseConfig

func ParseConfig(k *koanf.Koanf) (Transformer, error)

Jump to

Keyboard shortcuts

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