event

package
v0.0.0-...-56027fb Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnstructuredDataEventAvroSchemaSpecification = `` /* 1158-byte string literal not displayed */

)

Variables

View Source
var (
	UnstructuredDataEventAvroSchema avro.Schema
)

Functions

func NewUnstructuredDataEvent

func NewUnstructuredDataEvent() event.Event

func UnstructuredDataEventAvroCoder

func UnstructuredDataEventAvroCoder(elm element.Element) ([]byte, error)

func UnstructuredDataEventAvroDecoder

func UnstructuredDataEventAvroDecoder(raw []byte, elm element.Element) (element.Element, error)

Types

type UnstructuredDataEvent

type UnstructuredDataEvent struct {
	M event.Meta             `json:"meta" avro:"meta"`
	D event.UnstructuredData `json:"data" avro:"data"`
	L event.Local            `json:"local"`
}

func (*UnstructuredDataEvent) Code

func (*UnstructuredDataEvent) Data

func (e *UnstructuredDataEvent) Data() any

func (*UnstructuredDataEvent) Decode

func (*UnstructuredDataEvent) Key

func (e *UnstructuredDataEvent) Key() common.Key

func (*UnstructuredDataEvent) Local

func (e *UnstructuredDataEvent) Local() event.Local

func (*UnstructuredDataEvent) Meta

func (e *UnstructuredDataEvent) Meta() event.Meta

func (*UnstructuredDataEvent) String

func (e *UnstructuredDataEvent) String() string

func (*UnstructuredDataEvent) Timestamp

func (e *UnstructuredDataEvent) Timestamp() time.Time

func (*UnstructuredDataEvent) Type

Jump to

Keyboard shortcuts

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