http

package
v0.0.0-...-3a5708c Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package http implements the HTTP frontend. It contains components specific to serve GET, POST, ... requests. It does not contain code indirectly needed to do so, i.e. authentication, storage etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(
	bindAddress string,
	auth authenticator.HttpAuthenticator,
	store store.Store,
	loader templates.Loader)

ListenAndServe brings up the web server component, waits for incoming HTTP requests on the given bindAddress and serves them.

func RequestLogger

func RequestLogger(next http.Handler) http.Handler

Types

This section is empty.

Directories

Path Synopsis
Package editor serves the editor UI.
Package editor serves the editor UI.
Package failer implements HTTP handlers that serve error pages.
Package failer implements HTTP handlers that serve error pages.
Package router provides basic means of switching between the wiki's different page types.
Package router provides basic means of switching between the wiki's different page types.
Package templates builds the link between Go's standard template logic and the application logic by providing an interface specialized to each template's use case.
Package templates builds the link between Go's standard template logic and the application logic by providing an interface specialized to each template's use case.
Package viewer determines how to display the wiki's content.
Package viewer determines how to display the wiki's content.

Jump to

Keyboard shortcuts

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