handler

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(
	e *echo.Echo,
	cfg configs.Config,
	logger *logger.Logger,
	app *app.App,
) *Handler

func (*Handler) CreateIndicator

func (h *Handler) CreateIndicator(c echo.Context) error

func (*Handler) CreateOrUpdateObservation

func (h *Handler) CreateOrUpdateObservation(c echo.Context) error

func (*Handler) CreateUserHandler

func (h *Handler) CreateUserHandler(c echo.Context) error

func (*Handler) FindUserCorrelations

func (h *Handler) FindUserCorrelations(c echo.Context) error

FindUserCorrelations method is only for debug on dev

func (*Handler) GetCorrelation

func (h *Handler) GetCorrelation(c echo.Context) error

func (*Handler) GetCorrelationMatrix

func (h *Handler) GetCorrelationMatrix(c echo.Context) error

func (*Handler) GetIndicators

func (h *Handler) GetIndicators(c echo.Context) error

func (*Handler) GetTokenHandler

func (h *Handler) GetTokenHandler(c echo.Context) error

func (*Handler) GetUserHandler

func (h *Handler) GetUserHandler(c echo.Context) error

func (*Handler) HealthHandler added in v0.0.2

func (h *Handler) HealthHandler(c echo.Context) error

func (*Handler) UpdateAggregations

func (h *Handler) UpdateAggregations(c echo.Context) error

Jump to

Keyboard shortcuts

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