mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-09 20:38:49 +03:00
Merge pull request #349 from carlisia/cc-lint-fixes
Add a few super minor lint fixes
This commit is contained in:
commit
3e402e0692
2 changed files with 8 additions and 6 deletions
|
@ -33,11 +33,13 @@ import (
|
||||||
|
|
||||||
// Configurable application parameters
|
// Configurable application parameters
|
||||||
var (
|
var (
|
||||||
// The name and version of the application.
|
// AppName is the name of the application.
|
||||||
AppName string
|
AppName string
|
||||||
|
|
||||||
|
// AppVersion is the version of the application.
|
||||||
AppVersion string
|
AppVersion string
|
||||||
|
|
||||||
// If true, initialization will not show any informative output.
|
// Quiet when set to true, will not show any informative output on initialization.
|
||||||
Quiet bool
|
Quiet bool
|
||||||
|
|
||||||
// HTTP2 indicates whether HTTP2 is enabled or not.
|
// HTTP2 indicates whether HTTP2 is enabled or not.
|
||||||
|
|
|
@ -348,13 +348,13 @@ func DefaultInput() CaddyfileInput {
|
||||||
|
|
||||||
// These defaults are configurable through the command line
|
// These defaults are configurable through the command line
|
||||||
var (
|
var (
|
||||||
// Site root
|
// Root is the site root
|
||||||
Root = DefaultRoot
|
Root = DefaultRoot
|
||||||
|
|
||||||
// Site host
|
// Host is the site host
|
||||||
Host = DefaultHost
|
Host = DefaultHost
|
||||||
|
|
||||||
// Site port
|
// Port is the site port
|
||||||
Port = DefaultPort
|
Port = DefaultPort
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue