Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newCounter (0.57 sec)

  1. internal/grid/debug.go

    			AuthRequest: func(r *http.Request) error {
    				return nil
    			},
    			AddAuth:      func(aud string) string { return aud },
    			BlockConnect: ready,
    		})
    		if err != nil {
    			return nil, err
    		}
    		m := mux.NewRouter()
    		m.Handle(RoutePath, manager.Handler())
    		res.Managers = append(res.Managers, manager)
    		res.Servers = append(res.Servers, startHTTPServer(listeners[i], m))
    		res.Listeners = append(res.Listeners, listeners[i])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. pkg/ctrlz/ctrlz.go

    	_ = augmentLayout(baseLayout, "templates/modules/last-refresh.html")
    	mainLayout := augmentLayout(template.Must(baseLayout.Clone()), "templates/layouts/main.html")
    
    	router := mux.NewRouter()
    	for _, t := range allTopics {
    		registerTopic(router, mainLayout, t)
    	}
    
    	if o.EnablePprof && o.Address == "localhost" {
    		router.HandleFunc("/debug/pprof/cmdline", pprof.Cmdline)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Handler {
    	// initialize a new mux router.
    	// goriilla/mux is the library used to register all the routes and handle them.
    	muxRouter := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	if len(apiFunctions) > 0 {
    		// Iterate the list of API functions requested for and register them in mux HTTP handler.
    		registerAPIFunctions(muxRouter, objLayer, apiFunctions...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top