mirror of
https://github.com/restic/rest-server.git
synced 2026-04-06 02:01:47 -07:00
Reformat comments
This commit is contained in:
@@ -104,7 +104,7 @@ func (router *Router) ConnectFunc(path string, handler http.HandlerFunc) {
|
||||
router.Handle("Connect", path, handler)
|
||||
}
|
||||
|
||||
// Handle registers a http.Handler for method and uri
|
||||
// Handle registers a http.Handler for method and uri.
|
||||
func (router *Router) Handle(method string, uri string, handler http.Handler) {
|
||||
routes := router.routes[method]
|
||||
path := strings.Split(uri, "/")
|
||||
|
||||
Reference in New Issue
Block a user