handler

package
v0.15.6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	commandHandler eh.CommandHandler,
	eventBus eh.EventBus,
	todoRepo eh.ReadRepo,
	staticFolder string,
) (http.Handler, error)

NewHandler returns a http.Handler that interacts exposes the command handler, read repo and event bus to the frontend.

Types

This section is empty.

Jump to

Keyboard shortcuts

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