Documentation ¶ Index ¶ func RegisterRoutes(group *echo.Group, logger *zap.Logger, tsClient *timescaledb.Client) type Handler func NewHandler(logger *zap.Logger, tsClient *timescaledb.Client) *Handler func (h *Handler) GetAlerts(c echo.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RegisterRoutes ¶ func RegisterRoutes(group *echo.Group, logger *zap.Logger, tsClient *timescaledb.Client) Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func NewHandler ¶ func NewHandler(logger *zap.Logger, tsClient *timescaledb.Client) *Handler func (*Handler) GetAlerts ¶ func (h *Handler) GetAlerts(c echo.Context) error GetAlerts returns alerts based on water level thresholds Source Files ¶ View all Source files handler.goroutes.go Directories ¶ Show internal Expand all Path Synopsis models Click to show internal directories. Click to hide internal directories.