Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HandlePrefix (0.33 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go

    	m.UnlistedHandle(path, http.HandlerFunc(handler))
    }
    
    // HandlePrefix is like Handle, but matches for anything under the path.  Like a standard golang trailing slash.
    func (m *PathRecorderMux) HandlePrefix(path string, handler http.Handler) {
    	if !strings.HasSuffix(path, "/") {
    		panic(fmt.Sprintf("%q must end in a trailing slash", path))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 01:52:15 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top