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
Łukasz Nowak
caddy
Commits
8471c2d9
Commit
8471c2d9
authored
Jan 29, 2015
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated docs; renamed a couple utility files
parent
dcc67863
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
middleware/recorder.go
middleware/recorder.go
+0
-0
middleware/replacer.go
middleware/replacer.go
+1
-1
server/server.go
server/server.go
+4
-0
No files found.
middleware/
util_
recorder.go
→
middleware/recorder.go
View file @
8471c2d9
File moved
middleware/
util_
replacer.go
→
middleware/replacer.go
View file @
8471c2d9
...
...
@@ -60,7 +60,7 @@ func NewReplacer(r *http.Request, rw *responseRecorder) replacer {
return
rep
}
//
r
eplace performs a replacement of values on s and returns
//
R
eplace performs a replacement of values on s and returns
// the string with the replaced values.
func
(
r
replacer
)
Replace
(
s
string
)
string
{
for
placeholder
,
replacement
:=
range
r
{
...
...
server/server.go
View file @
8471c2d9
// Server implements a configurable, general-purpose web server. It
// relies on configurations obtained from the adjacent config package
// and can execute middleware as defined by the adjacent middleware
// package.
package
server
import
(
...
...
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