SYMBOL INDEX (101 symbols across 6 files) FILE: path.go function CleanPath (line 21) | func CleanPath(p string) string { function bufApp (line 128) | func bufApp(buf *[]byte, s string, w int, c byte) { FILE: path_test.go type cleanPathTest (line 13) | type cleanPathTest struct function TestPathClean (line 69) | func TestPathClean(t *testing.T) { function TestPathCleanMallocs (line 80) | func TestPathCleanMallocs(t *testing.T) { function BenchmarkPathClean (line 94) | func BenchmarkPathClean(b *testing.B) { function genLongPaths (line 104) | func genLongPaths() (testPaths []cleanPathTest) { function TestPathCleanLong (line 126) | func TestPathCleanLong(t *testing.T) { function BenchmarkPathCleanLong (line 139) | func BenchmarkPathCleanLong(b *testing.B) { FILE: router.go type Handle (line 89) | type Handle type Param (line 92) | type Param struct type Params (line 100) | type Params method ByName (line 104) | func (ps Params) ByName(name string) string { method MatchedRoutePath (line 132) | func (ps Params) MatchedRoutePath() string { type paramsKey (line 113) | type paramsKey struct function ParamsFromContext (line 120) | func ParamsFromContext(ctx context.Context) Params { type Router (line 138) | type Router struct method getParams (line 222) | func (r *Router) getParams() *Params { method putParams (line 228) | func (r *Router) putParams(ps *Params) { method saveMatchedRoutePath (line 234) | func (r *Router) saveMatchedRoutePath(path string, handle Handle) Hand... method GET (line 250) | func (r *Router) GET(path string, handle Handle) { method HEAD (line 255) | func (r *Router) HEAD(path string, handle Handle) { method OPTIONS (line 260) | func (r *Router) OPTIONS(path string, handle Handle) { method POST (line 265) | func (r *Router) POST(path string, handle Handle) { method PUT (line 270) | func (r *Router) PUT(path string, handle Handle) { method PATCH (line 275) | func (r *Router) PATCH(path string, handle Handle) { method DELETE (line 280) | func (r *Router) DELETE(path string, handle Handle) { method Handle (line 292) | func (r *Router) Handle(method, path string, handle Handle) { method Handler (line 341) | func (r *Router) Handler(method, path string, handler http.Handler) { method HandlerFunc (line 356) | func (r *Router) HandlerFunc(method, path string, handler http.Handler... method ServeFiles (line 370) | func (r *Router) ServeFiles(path string, root http.FileSystem) { method recv (line 383) | func (r *Router) recv(w http.ResponseWriter, req *http.Request) { method Lookup (line 394) | func (r *Router) Lookup(method, path string) (Handle, Params, bool) { method allowed (line 409) | func (r *Router) allowed(path, reqMethod string) (allow string) { method ServeHTTP (line 463) | func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) { function New (line 213) | func New() *Router { FILE: router_test.go type mockResponseWriter (line 16) | type mockResponseWriter struct method Header (line 18) | func (m *mockResponseWriter) Header() (h http.Header) { method Write (line 22) | func (m *mockResponseWriter) Write(p []byte) (n int, err error) { method WriteString (line 26) | func (m *mockResponseWriter) WriteString(s string) (n int, err error) { method WriteHeader (line 30) | func (m *mockResponseWriter) WriteHeader(int) {} function TestParams (line 32) | func TestParams(t *testing.T) { function TestRouter (line 48) | func TestRouter(t *testing.T) { type handlerStruct (line 70) | type handlerStruct struct method ServeHTTP (line 74) | func (h handlerStruct) ServeHTTP(w http.ResponseWriter, r *http.Reques... function TestRouterAPI (line 78) | func TestRouterAPI(t *testing.T) { function TestRouterInvalidInput (line 167) | func TestRouterInvalidInput(t *testing.T) { function TestRouterChaining (line 201) | func TestRouterChaining(t *testing.T) { function BenchmarkAllowed (line 243) | func BenchmarkAllowed(b *testing.B) { function TestRouterOPTIONS (line 264) | func TestRouterOPTIONS(t *testing.T) { function TestRouterNotAllowed (line 360) | func TestRouterNotAllowed(t *testing.T) { function TestRouterNotFound (line 409) | func TestRouterNotFound(t *testing.T) { function TestRouterPanicHandler (line 474) | func TestRouterPanicHandler(t *testing.T) { function TestRouterLookup (line 502) | func TestRouterLookup(t *testing.T) { function TestRouterParamsFromContext (line 568) | func TestRouterParamsFromContext(t *testing.T) { function TestRouterMatchedRoutePath (line 613) | func TestRouterMatchedRoutePath(t *testing.T) { type mockFileSystem (line 672) | type mockFileSystem struct method Open (line 676) | func (mfs *mockFileSystem) Open(name string) (http.File, error) { function TestRouterServeFiles (line 681) | func TestRouterServeFiles(t *testing.T) { FILE: tree.go function min (line 13) | func min(a, b int) int { function longestCommonPrefix (line 20) | func longestCommonPrefix(a, b string) int { function findWildcard (line 31) | func findWildcard(path string) (wilcard string, i int, valid bool) { function countParams (line 54) | func countParams(path string) uint16 { type nodeType (line 65) | type nodeType constant static (line 68) | static nodeType = iota constant root (line 69) | root constant param (line 70) | param constant catchAll (line 71) | catchAll type node (line 74) | type node struct method incrementChildPrio (line 85) | func (n *node) incrementChildPrio(pos int) int { method addRoute (line 109) | func (n *node) addRoute(path string, handle Handle) { method insertChild (line 217) | func (n *node) insertChild(path, fullPath string, handle Handle) { method getValue (line 326) | func (n *node) getValue(path string, params func() *Params) (handle Ha... method findCaseInsensitivePath (line 469) | func (n *node) findCaseInsensitivePath(path string, fixTrailingSlash b... method findCaseInsensitivePathRec (line 506) | func (n *node) findCaseInsensitivePathRec(path string, ciPath []byte, ... function shiftNRuneBytes (line 490) | func shiftNRuneBytes(rb [4]byte, n int) [4]byte { FILE: tree_test.go function fakeHandler (line 29) | func fakeHandler(val string) Handle { type testRequests (line 35) | type testRequests function getParams (line 42) | func getParams() *Params { function checkRequests (line 47) | func checkRequests(t *testing.T, tree *node, requests testRequests) { function checkPriorities (line 76) | func checkPriorities(t *testing.T, n *node) uint32 { function TestCountParams (line 96) | func TestCountParams(t *testing.T) { function TestTreeAddAndGet (line 105) | func TestTreeAddAndGet(t *testing.T) { function TestTreeWildcard (line 144) | func TestTreeWildcard(t *testing.T) { function catchPanic (line 189) | func catchPanic(testFunc func()) (recv interface{}) { type testRoute (line 198) | type testRoute struct function testRoutes (line 203) | func testRoutes(t *testing.T, routes []testRoute) { function TestTreeWildcardConflict (line 224) | func TestTreeWildcardConflict(t *testing.T) { function TestTreeChildConflict (line 245) | func TestTreeChildConflict(t *testing.T) { function TestTreeDupliatePath (line 261) | func TestTreeDupliatePath(t *testing.T) { function TestEmptyWildcardName (line 300) | func TestEmptyWildcardName(t *testing.T) { function TestTreeCatchAllConflict (line 320) | func TestTreeCatchAllConflict(t *testing.T) { function TestTreeCatchAllConflictRoot (line 331) | func TestTreeCatchAllConflictRoot(t *testing.T) { function TestTreeCatchMaxParams (line 339) | func TestTreeCatchMaxParams(t *testing.T) { function TestTreeDoubleWildcard (line 345) | func TestTreeDoubleWildcard(t *testing.T) { function TestTreeTrailingSlashRedirect (line 367) | func TestTreeTrailingSlashRedirect(t *testing.T) { function TestTreeRootTrailingSlashRedirect (line 453) | func TestTreeRootTrailingSlashRedirect(t *testing.T) { function TestTreeFindCaseInsensitivePath (line 471) | func TestTreeFindCaseInsensitivePath(t *testing.T) { function TestTreeInvalidNodeType (line 634) | func TestTreeInvalidNodeType(t *testing.T) { function TestTreeWildcardConflictEx (line 661) | func TestTreeWildcardConflictEx(t *testing.T) { function TestRedirectTrailingSlash (line 703) | func TestRedirectTrailingSlash(t *testing.T) {