event

package
v0.0.0-...-9ffb102 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseEvent

type BaseEvent struct {
	CreatedAt      time.Time        `json:"createdAt"`
	AppSource      string           `json:"appSource"`
	Source         string           `json:"source"`
	LoggedInUserId string           `json:"loggedInUserId"`
	EventName      string           `json:"eventName" validate:"required"`
	Tenant         string           `json:"tenant" validate:"required"`
	EntityId       string           `json:"entityId" validate:"required"`
	EntityType     model.EntityType `json:"entityType" validate:"required"`
}

type BaseEventAccessor

type BaseEventAccessor interface {
	GetBaseEvent() BaseEvent
	SetEntityId(entityId string)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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