httpapi

package
v0.0.0-...-288396c Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(commandBus command.Dispatcher, monthStore eventstore.Typed, logger *zap.Logger) http.Handler

NewRouter returns a new instance of the HTTP API router.

Types

type SetNewThresholdRequest

type SetNewThresholdRequest struct {
	Threshold float64 `json:"threshold"`
}

Jump to

Keyboard shortcuts

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