decode

package
v1.10.0-community Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode(in []byte) (config.GenericMap, error)
}

func GetDecoder

func GetDecoder(params api.Decoder) (Decoder, error)

func NewJSON

func NewJSON() (Decoder, error)

NewJSON create a new JSON decoder

type JSON

type JSON struct {
}

func (*JSON) Decode

func (c *JSON) Decode(line []byte) (config.GenericMap, error)

Decode decodes input strings to a list of flow entries

Jump to

Keyboard shortcuts

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