MCPcopy
hub / github.com/go-chi/chi / Mount

Method Mount

chi.go:84–84  ·  view source on GitHub ↗

Mount attaches another http.Handler along ./pattern/*

(pattern string, h http.Handler)

Source from the content-addressed store, hash-verified

82
83 // Mount attaches another http.Handler along ./pattern/*
84 Mount(pattern string, h http.Handler)
85
86 // Handle and HandleFunc adds routes for `pattern` that matches
87 // all HTTP methods.

Callers 11

TestMuxMountsFunction · 0.95
TestMuxTrailingSlashFunction · 0.95
TestMuxNestedNotFoundFunction · 0.95
TestMuxSubroutesFunction · 0.95
TestMountingExistingPathFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95

Implementers 1

Muxmux.go

Calls

no outgoing calls

Tested by 8

TestMuxMountsFunction · 0.76
TestMuxTrailingSlashFunction · 0.76
TestMuxNestedNotFoundFunction · 0.76
TestMuxSubroutesFunction · 0.76
TestMountingExistingPathFunction · 0.76