package
0.0.0-20241112125757-779aa9ab4555
Repository: https://github.com/bcc-code/bcc-media-platform.git
Documentation: pkg.go.dev

# Functions

NewHandler returns a new Handler.
NewService returns a new service.

# Constants

EventItemsCreate items.create.
EventItemsDelete items.delete.
EventItemsUpdate items.update.
Collection of possible sources for events.
Collection of possible sources for events.
Collection of possible event types.
Collection of possible event types.
Collection of possible event types.
Collection of possible event types.
Collection of possible event types.
Collection of possible event types.
Collection of possible event types.
Collection of possible event types.

# Variables

ErrErrorDuringProcessing returns a sentinel error for processing errors.

# Structs

AssetDelivered is the event originating from MEDIABANKEN notifying the system That an update for a VOD episode is available on the storage.
No description provided by the author
Event represents a payload from the directus hook.
Handler for handling directus events.
RefreshView is an event requestig refresh of a view in the DB This is a generic event and the ViewName should be checked against a list of known views to prevent potential abuse.
Service contains multiple functions for handling and publishing events.

# Type aliases

EventHandlerFunc is a function that can process a directus event.