Searched defs:serveMux121 (Results 1 – 1 of 1) sorted by relevance
39 type serveMux121 struct { struct40 mu sync.RWMutex41 m map[string]muxEntry42 es []muxEntry // slice of entries sorted from longest to shortest.43 hosts bool // whether any patterns contain hostnames52 func (mux *serveMux121) handle(pattern string, handler Handler) {96 func (mux *serveMux121) handleFunc(pattern string, handler func(ResponseWriter, *Request)) {104 func (mux *serveMux121) findHandler(r *Request) (h Handler, pattern string) {140 func (mux *serveMux121) handler(host, path string) (h Handler, pattern string) {159 func (mux *serveMux121) match(path string) (h Handler, pattern string) {[all …]