Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHost = "0.0.0.0" DefaultPort = "2015" DefaultRoot = "." // The default configuration file to load if none is specified DefaultConfigFile = "Caddyfile" )
Variables ¶
View Source
var ( Root = DefaultRoot Host = DefaultHost Port = DefaultPort )
These three defaults are configurable through the command line
View Source
var AppName, AppVersion string
The application should set these so that various middlewares can access the proper information for their own needs.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.