cloudEvent

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudEvent

type CloudEvent struct {
	Id string `json:"id"`

	// source holds the 		 * source of the message.
	Source      string    `json:"source"`
	Specversion string    `json:"specversion"`
	Time        time.Time `json:"time"`
}

func (CloudEvent) AvroRecord

func (CloudEvent) AvroRecord() avrotypegen.RecordInfo

AvroRecord implements the avro.AvroRecord interface.

type Message

type Message struct {
	Metadata Metadata
}

func (Message) AvroRecord

func (Message) AvroRecord() avrotypegen.RecordInfo

AvroRecord implements the avro.AvroRecord interface.

type Metadata

type Metadata struct {
	CloudEvent CloudEvent
}

func (Metadata) AvroRecord

func (Metadata) AvroRecord() avrotypegen.RecordInfo

AvroRecord implements the avro.AvroRecord interface.

Jump to

Keyboard shortcuts

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