decode

package
v1.6.1-crc0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 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 DecodeJSON

type DecodeJSON struct {
}

func (*DecodeJSON) Decode

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

Decode decodes input strings to a list of flow entries

type Decoder

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

func GetDecoder

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

func NewDecodeJSON

func NewDecodeJSON() (Decoder, error)

NewDecodeJSON create a new decode

Jump to

Keyboard shortcuts

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