decode

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 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