mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Updated docs; renamed a couple utility files
This commit is contained in:
parent
dcc67863dc
commit
8471c2d9d8
3 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,7 @@ func NewReplacer(r *http.Request, rw *responseRecorder) replacer {
|
|||
return rep
|
||||
}
|
||||
|
||||
// replace performs a replacement of values on s and returns
|
||||
// Replace 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 {
|
|
@ -1,3 +1,7 @@
|
|||
// 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 (
|
||||
|
|
Loading…
Reference in a new issue