Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeApp ¶
func InitializeApp( httpRouter *mux.Router, grpcServer *grpc.Server, publisher message.Publisher, subscriber message.Subscriber, storage string, db *sql.DB, logger Logger, errorHandler ErrorHandler, )
InitializeApp initializes a new HTTP and a new gRPC application.
func RegisterEventHandlers ¶
func RegisterEventHandlers(router *message.Router, subscriber message.Subscriber, logger Logger) error
RegisterEventHandlers registers event handlers in a message router.
Types ¶
Click to show internal directories.
Click to hide internal directories.