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"`
}
Click to show internal directories.
Click to hide internal directories.