dlq

package
v0.0.0-...-078993e Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 9 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 struct {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(r io.Reader) *Decoder

func (*Decoder) Err

func (d *Decoder) Err() error

func (*Decoder) Event

func (d *Decoder) Event() (*Event, error)

func (*Decoder) Scan

func (d *Decoder) Scan() bool

type Event

type Event struct {
	Timestamp  time.Time     `json:"timestamp"`
	Event      []interface{} `json:"event"`
	PluginType string        `json:"plugin_type"`
	PluginID   string        `json:"plugin_id"`
	Reason     string        `json:"reason"`
}

func (*Event) UnmarshalBinary

func (e *Event) UnmarshalBinary(data []byte) error

Jump to

Keyboard shortcuts

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