Documentation ¶
Index ¶
- Variables
- func Front_GET(rw http.ResponseWriter, req *http.Request)
- func NotFound(rw http.ResponseWriter, req *http.Request)
- type Config
- func (cfg *Config) GetCAPTCHA() *captcha.Config
- func (cfg *Config) Handler(h http.Handler) http.Handler
- func (cfg *Config) Listen() error
- func (cfg *Config) Serve() error
- func (cfg *Config) SetStatus(status string)
- func (cfg *Config) Start() error
- func (cfg *Config) StatusChan() <-chan string
- func (cfg *Config) Stop() error
Constants ¶
This section is empty.
Variables ¶
View Source
var Router *mux.Router
View Source
var ServerKey int
View Source
var _, Log = xlog.New("web")
Functions ¶
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package ac provides facilities for generating and verifying anti-CSRF authentication codes.
|
Package ac provides facilities for generating and verifying anti-CSRF authentication codes. |
Package assetmgr facilitates the automatic generation and live updation of asset cachebusting tags as files are changed.
|
Package assetmgr facilitates the automatic generation and live updation of asset cachebusting tags as files are changed. |
Package authn provides authentication functions.
|
Package authn provides authentication functions. |
Package authz provides login requirement wrappers for HTTP handlers.
|
Package authz provides login requirement wrappers for HTTP handlers. |
Package cspreport provides facilities for logging CSP and HPKP violation reports.
|
Package cspreport provides facilities for logging CSP and HPKP violation reports. |
Package errorhandler provides a panic handler for HTTP requests which serves an error notice and optionally sends e.
|
Package errorhandler provides a panic handler for HTTP requests which serves an error notice and optionally sends e. |
Package miscctx provides miscellaneous context items which can be associated with an HTTP request.
|
Package miscctx provides miscellaneous context items which can be associated with an HTTP request. |
Package opts provides miscellaneous configurable globals commonly required by web application servers.
|
Package opts provides miscellaneous configurable globals commonly required by web application servers. |
Package origin provides utilities for determining the remote IP and SSL use of HTTP connections in complex proxied backend environments.
|
Package origin provides utilities for determining the remote IP and SSL use of HTTP connections in complex proxied backend environments. |
Package servicenexus provides prefixed access to the net/http DefaultServeMux, gated to admit only internal requests.
|
Package servicenexus provides prefixed access to the net/http DefaultServeMux, gated to admit only internal requests. |
Package session provides session storage facilities.
|
Package session provides session storage facilities. |
storage
Session storage, for use with session-pinning webservers only.
|
Session storage, for use with session-pinning webservers only. |
storage/memorysession
Package memorysession provides an in-memory session store.
|
Package memorysession provides an in-memory session store. |
storage/redissession
Package redissession provides a Redis-based session store.
|
Package redissession provides a Redis-based session store. |
Package tpl provides facilities for loading and displaying templates.
|
Package tpl provides facilities for loading and displaying templates. |
Package tplctx provides basic amenities to be provided to templates as a context object.
|
Package tplctx provides basic amenities to be provided to templates as a context object. |
Package weberror provides facilities for showing generic error pages based on HTTP status codes.
|
Package weberror provides facilities for showing generic error pages based on HTTP status codes. |
Click to show internal directories.
Click to hide internal directories.