models

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 4 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 {
	ID         int
	Type       int
	Payload    pgtype.JSON
	Headers    pgtype.JSONB
	Status     int
	ModelID    int
	CreatedAt  pgtype.Timestamp
	UpdatedAt  sql.NullTime
	Exchange   string
	RoutingKey string
}

func NewEvent

func NewEvent(entity *events.Event) (*Event, error)

func (*Event) GetEntity

func (e *Event) GetEntity() (*events.Event, error)

Jump to

Keyboard shortcuts

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