event

package
v0.0.0-...-14f90b6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvroProducer

type AvroProducer struct {
	// contains filtered or unexported fields
}

func NewAvroProducer

func NewAvroProducer(outputChannel chan []byte, marshaller Marshaller) *AvroProducer

NewAvroProducer returns a new instance of AvroProducer.

func (*AvroProducer) InteractiveUploaded

func (producer *AvroProducer) InteractiveUploaded(event *InteractiveUploaded) error

InteractiveUploaded produces a new InteractiveUploaded event.

type InteractiveUploaded

type InteractiveUploaded struct {
	FilePath     string `avro:"path"`
	ID           string `avro:"id"`
	Title        string `avro:"title"`
	CollectionID string `avro:"collection_id"`
}

type Marshaller

type Marshaller interface {
	Marshal(s interface{}) ([]byte, error)
}

Marshaller marshals events into messages.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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