handlers

package
v0.0.0-...-780872b Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Success

func Success(c *gin.Context, name string, vars gin.H)

Success renders a template

Types

type FiringHandlers

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

FiringHandlers handles routing for firing endpoints

func NewFiringHandlers

func NewFiringHandlers(r *gin.Engine) *FiringHandlers

NewFiringHandlers returns an instance of FiringHandlers

func (*FiringHandlers) Register

func (f *FiringHandlers) Register()

Register firing handlers

type StatsHandlers

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

StatsHandlers handles routing for stats endpoints

func NewStatsHandlers

func NewStatsHandlers(r *gin.Engine) *StatsHandlers

NewStatsHandlers returns an instance of StatsHandlers

func (*StatsHandlers) Register

func (h *StatsHandlers) Register()

Register stats handlers

type TemperatureHandlers

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

TemperatureHandlers handles routing for temperature endpoints

func NewTemperatureHandlers

func NewTemperatureHandlers(r *gin.Engine) *TemperatureHandlers

NewTemperatureHandlers returns an instance of TemperatureHandlers

func (*TemperatureHandlers) Register

func (f *TemperatureHandlers) Register()

Register firing handlers

Jump to

Keyboard shortcuts

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