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) HandleInternalOperation(ctx context.Context, incoming *model.Event, actualHandler HandlerFunc) (*model.Event, errors.ServiceError) PrepareInternalEvent(ctx context.Context, event *model.Event) *model.Event }
func NewBackendEventHandler ¶
func NewBackendEventHandler() BackendEventHandler
type Handler ¶
type Handler struct { Id string Name string Fn HandlerFunc Selector *model.EventSelector Order int Finalizes bool Sync bool Responds bool }
type HandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.