handlers

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package handlers contains the message handlers for entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddOriginatingEntityHandler

func NewAddOriginatingEntityHandler(
	evt interfaces.Publisher,
	store db.Store,
	propSvc propertyService.PropertiesService,
	provMgr manager.ProviderManager,
	handlerMiddleware ...watermill.HandlerMiddleware,
) interfaces.Consumer

NewAddOriginatingEntityHandler creates a new handler that adds an originating entity.

func NewGetEntityAndDeleteHandler

func NewGetEntityAndDeleteHandler(
	evt interfaces.Publisher,
	store db.Store,
	propSvc propertyService.PropertiesService,
	handlerMiddleware ...watermill.HandlerMiddleware,
) interfaces.Consumer

NewGetEntityAndDeleteHandler creates a new handler that gets an entity and deletes it.

func NewRefreshByIDAndEvaluateHandler

func NewRefreshByIDAndEvaluateHandler(
	evt interfaces.Publisher,
	store db.Store,
	propSvc propertyService.PropertiesService,
	provMgr manager.ProviderManager,
	handlerMiddleware ...watermill.HandlerMiddleware,
) interfaces.Consumer

NewRefreshByIDAndEvaluateHandler creates a new handler that refreshes an entity and evaluates it.

func NewRefreshEntityAndEvaluateHandler

func NewRefreshEntityAndEvaluateHandler(
	evt interfaces.Publisher,
	store db.Store,
	propSvc propertyService.PropertiesService,
	provMgr manager.ProviderManager,
	handlerMiddleware ...watermill.HandlerMiddleware,
) interfaces.Consumer

NewRefreshEntityAndEvaluateHandler creates a new handler that refreshes an entity and evaluates it.

func NewRemoveOriginatingEntityHandler

func NewRemoveOriginatingEntityHandler(
	evt interfaces.Publisher,
	store db.Store,
	propSvc propertyService.PropertiesService,
	provMgr manager.ProviderManager,
	handlerMiddleware ...watermill.HandlerMiddleware,
) interfaces.Consumer

NewRemoveOriginatingEntityHandler creates a new handler that removes an originating entity.

Types

This section is empty.

Directories

Path Synopsis
Package message contains the message creation strategies
Package message contains the message creation strategies
Package strategies contains the message creation strategies for entities and messages
Package strategies contains the message creation strategies for entities and messages
entity
Package entity contains the entity creation strategies
Package entity contains the entity creation strategies
message
Package message contains the message creation strategies
Package message contains the message creation strategies

Jump to

Keyboard shortcuts

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