type net/http.ServeMux
12 uses
net/http (current package)
server.go#L2320: type ServeMux struct {
server.go#L2333: func NewServeMux() *ServeMux { return new(ServeMux) }
server.go#L2338: var defaultServeMux ServeMux
server.go#L2377: func (mux *ServeMux) match(path string) (h Handler, pattern string) {
server.go#L2398: func (mux *ServeMux) redirectToPathSlash(host, path string, u *url.URL) (*url.URL, bool) {
server.go#L2413: func (mux *ServeMux) shouldRedirectRLocked(host, path string) bool {
server.go#L2450: func (mux *ServeMux) Handler(r *Request) (h Handler, pattern string) {
server.go#L2486: func (mux *ServeMux) handler(host, path string) (h Handler, pattern string) {
server.go#L2505: func (mux *ServeMux) ServeHTTP(w ResponseWriter, r *Request) {
server.go#L2519: func (mux *ServeMux) Handle(pattern string, handler Handler) {
server.go#L2563: func (mux *ServeMux) HandleFunc(pattern string, handler func(ResponseWriter, *Request)) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |