Documentation ¶
Index ¶
Constants ¶
View Source
const NaturalOrder = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendEventHandler ¶
type BackendEventHandler interface { RegisterHandler(handler Handler) UnRegisterHandler(handler Handler) Handle(ctx context.Context, incoming *model.Event) (*model.Event, errors.ServiceError) }
func NewBackendEventHandler ¶
func NewBackendEventHandler(authorizationService service.AuthorizationService) BackendEventHandler
type Handler ¶
type Handler struct { Id string Name string Fn HandlerFunc Selector *model.EventSelector Order int Finalizes bool Sync bool Responds bool Internal bool }
type HandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.