internal

package
v0.0.0-...-983d7c1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 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)

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