app

package
v0.0.0-...-c997948 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Level - Log level
	Level = "vvvv" //string
	// LogToFile - log to file
	LogToFile string
)

Functions

func DownloadToString

func DownloadToString(url string) (string, error)

DownloadToString returns a []byte slice from a URL

func FourOFour

func FourOFour(w http.ResponseWriter)

FourOFour returns a standard 404 meesage

func HTTPError

func HTTPError(w http.ResponseWriter, msg string)

HTTPError returns a standard 404 meesage

func Log

func Log() *logger.Logger

Log handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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