Improve serve mux path
This commit is contained in:
@@ -22,7 +22,8 @@ type HTTPFunc struct {
|
||||
}
|
||||
|
||||
type HTTPHandler struct {
|
||||
Prefix string // path prefix under which to serve this handler/mux
|
||||
Prefix string // path prefix under which to serve this handler/mux, used for convenience
|
||||
Pattern string // pattern match
|
||||
StripPrefix bool // strip path before sending to handler/mux
|
||||
Handler http.Handler
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user