internal

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

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CelciusToKelvin

func CelciusToKelvin(celcius float64) float64

func ErrorMessage

func ErrorMessage(w http.ResponseWriter, errorMsg string)

func InfoMessage

func InfoMessage(w http.ResponseWriter, msg string)

func KelvinToCelcius

func KelvinToCelcius(kelvin float64) float64

func PascalToMillibar

func PascalToMillibar(pascal float64) float64

Types

type HostError

type HostError struct {
	Error   error
	Message string
	Code    int
}

type HostErrorHandler

type HostErrorHandler func(http.ResponseWriter, *http.Request) *HostError

func (HostErrorHandler) ServeHTTP

func (fn HostErrorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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