handlers

package
v0.0.0-...-68c3555 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() error

func RadonProGaugeHandler

func RadonProGaugeHandler(w http.ResponseWriter, r *http.Request)

func RadonProHandler

func RadonProHandler(w http.ResponseWriter, r *http.Request)

RadonProHandler is a simple handler that returns a JSON response

func Start

func Start() error

func Stop

func Stop()

Types

type Config

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

type RadonProResponse

type RadonProResponse struct {
	Message string `json:"message"`
}

type RadonRecord

type RadonRecord struct {
	AID   string
	GID   string
	ACPM  string
	USV   string
	Model string
	PCI   string
	CPM   string
}

Jump to

Keyboard shortcuts

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