ServerFile registers a file server route with the given path and file root.
(path string, fileroot string)
| 25 | PUT(path string, h HttpHandle) RouterNode |
| 26 | // ServerFile registers a file server route with the given path and file root. |
| 27 | ServerFile(path string, fileroot string) RouterNode |
| 28 | // RegisterRoute registers a new route with the given HTTP method, path and handler. |
| 29 | RegisterRoute(method, path string, h HttpHandle) RouterNode |
| 30 | // SetNotFoundHandle sets a custom 404 handler for this group. |