Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Package app holds application-global state to make it accessible by other packages in the application.
|
Package app holds application-global state to make it accessible by other packages in the application. |
parse
Package parse provides facilities for parsing configuration files.
|
Package parse provides facilities for parsing configuration files. |
Package middleware provides some types and functions common among middleware.
|
Package middleware provides some types and functions common among middleware. |
basicauth
Package basicauth implements HTTP Basic Authentication.
|
Package basicauth implements HTTP Basic Authentication. |
browse
Package browse provides middleware for listing files in a directory when directory path is requested instead of a specific file.
|
Package browse provides middleware for listing files in a directory when directory path is requested instead of a specific file. |
errors
Package errors implements an HTTP error handling middleware.
|
Package errors implements an HTTP error handling middleware. |
extensions
Package extensions contains middleware for clean URLs.
|
Package extensions contains middleware for clean URLs. |
fastcgi
Package fastcgi has middleware that acts as a FastCGI client.
|
Package fastcgi has middleware that acts as a FastCGI client. |
git
Package git is the middleware that pull sites from git repo Caddyfile Syntax : git repo path { repo path branch key interval then command args } repo - git repository compulsory.
|
Package git is the middleware that pull sites from git repo Caddyfile Syntax : git repo path { repo path branch key interval then command args } repo - git repository compulsory. |
git/gittest
Package gittest is a test package for the git middleware.
|
Package gittest is a test package for the git middleware. |
gzip
Package gzip provides a simple middleware layer that performs gzip compression on the response.
|
Package gzip provides a simple middleware layer that performs gzip compression on the response. |
headers
Package headers provides middleware that appends headers to requests based on a set of configuration rules that define which routes receive which headers.
|
Package headers provides middleware that appends headers to requests based on a set of configuration rules that define which routes receive which headers. |
internal
Package internal provides a simple middleware that (a) prevents access to internal locations and (b) allows to return files from internal location by setting a special header, e.g.
|
Package internal provides a simple middleware that (a) prevents access to internal locations and (b) allows to return files from internal location by setting a special header, e.g. |
log
Package log implements basic but useful request (access) logging middleware.
|
Package log implements basic but useful request (access) logging middleware. |
markdown
Package markdown is middleware to render markdown files as HTML on-the-fly.
|
Package markdown is middleware to render markdown files as HTML on-the-fly. |
proxy
Package proxy is middleware that proxies requests.
|
Package proxy is middleware that proxies requests. |
redirect
Package redirect is middleware for redirecting certain requests to other locations.
|
Package redirect is middleware for redirecting certain requests to other locations. |
rewrite
Package rewrite is middleware for rewriting requests internally to a different path.
|
Package rewrite is middleware for rewriting requests internally to a different path. |
templates
Package templates implements template execution for files to be dynamically rendered for the client.
|
Package templates implements template execution for files to be dynamically rendered for the client. |
websockets
Package websockets implements a WebSocket server by executing a command and piping its input and output through the WebSocket connection.
|
Package websockets implements a WebSocket server by executing a command and piping its input and output through the WebSocket connection. |
Package server implements a configurable, general-purpose web server.
|
Package server implements a configurable, general-purpose web server. |
Click to show internal directories.
Click to hide internal directories.