decoder

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCRI

func DecodeCRI(event *insaneJSON.Root, data []byte) error

Examples of format: 2016-10-06T00:17:09.669794202Z stdout P log content 1 2016-10-06T00:17:09.669794203Z stderr F log content

func DecodePostgres

func DecodePostgres(event *insaneJSON.Root, data []byte) error

Types

type DecoderType

type DecoderType int
const (
	NO DecoderType = iota
	AUTO
	JSON
	RAW
	CRI
	POSTGRES
)

Jump to

Keyboard shortcuts

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