web

package
v0.1.1-0...-c2b0454 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(lang lib.Lang)

Handle attaches events to the net/http package, but does not start the web server

func HandleError

func HandleError(w io.Writer, r *http.Request)

HandleError writes error information from a panic to the web stream

func Run

func Run(port int, lang lib.Lang)

Run starts listening on the given port

Types

This section is empty.

Jump to

Keyboard shortcuts

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