handler

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

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) StatsHandler added in v0.0.5

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

func (*Handler) UpdateAggregations

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

func (*Handler) UpdateIndicator added in v0.0.8

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

Jump to

Keyboard shortcuts

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