handlers

package
v0.0.0-...-8adf444 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllDevicesHandler

func GetAllDevicesHandler(c *gin.Context)

GetAllDevicesHandler returns all the devices

func GetNetworkMetricsHandler

func GetNetworkMetricsHandler(c *gin.Context)

GetNetworkMetricsHandler return the Network Metrics based on the request params

func GetNetworkMetricsStatusHandler

func GetNetworkMetricsStatusHandler(c *gin.Context)

GetNetworkMetricsStatusHandler returns various stats and debugging information about the Network Metrics related features

func KickOffNetworkMetricsPolling

func KickOffNetworkMetricsPolling(c *gin.Context)

KickOffNetworkMetricsPolling returns the applications version

func MetricsHandler

func MetricsHandler(c *gin.Context)

MetricsHandler returns the applications version

func ReturnHTTPError

func ReturnHTTPError(c *gin.Context, httpStatusCode int, errorMessage string, errorDescription string)

ReturnHTTPError is a wrapper function to return a generic HTTP error response

func VersionHandler

func VersionHandler(c *gin.Context)

VersionHandler returns the applications version

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳