Documentation ¶
Overview ¶
Package app holds application-global state to make it accessible by other packages in the application.
This package differs from config in that the things in app aren't really related to server configuration.
Index ¶
Constants ¶
View Source
const ( // Name is the program name Name = "Caddy" // Version is the program version Version = "0.7.2" )
Variables ¶
View Source
var ( // Servers is a list of all the currently-listening servers Servers []*server.Server // ServersMutex protects the Servers slice during changes ServersMutex sync.Mutex // Wg is used to wait for all servers to shut down Wg sync.WaitGroup // Http2 indicates whether HTTP2 is enabled or not Http2 bool // TODO: temporary flag until http2 is standard // Quiet mode hides non-error initialization output Quiet bool )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.