Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
3e402e06
Commit
3e402e06
authored
Nov 19, 2015
by
Matt Holt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #349 from carlisia/cc-lint-fixes
Add a few super minor lint fixes
parents
4d907d57
0a1721d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
caddy/caddy.go
caddy/caddy.go
+5
-3
caddy/config.go
caddy/config.go
+3
-3
No files found.
caddy/caddy.go
View file @
3e402e06
...
@@ -33,11 +33,13 @@ import (
...
@@ -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.
...
...
caddy/config.go
View file @
3e402e06
...
@@ -348,13 +348,13 @@ func DefaultInput() CaddyfileInput {
...
@@ -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
(
//
S
ite root
//
Root is the s
ite root
Root
=
DefaultRoot
Root
=
DefaultRoot
//
S
ite host
//
Host is the s
ite host
Host
=
DefaultHost
Host
=
DefaultHost
//
S
ite port
//
Port is the s
ite port
Port
=
DefaultPort
Port
=
DefaultPort
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment