event

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Ts     time.Time              `json:"ts"`
	Record map[string]interface{} `json:"record"`
}

func New

func New(ts time.Time, record map[string]interface{}) Event

type Events

type Events []Event

func (Events) Len

func (e Events) Len() int

func (Events) Less

func (e Events) Less(i, j int) bool

func (Events) Swap

func (e Events) Swap(i, j int)

Jump to

Keyboard shortcuts

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