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.
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. |
Click to show internal directories.
Click to hide internal directories.