Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MUX (0.05 sec)

  1. src/net/http/server.go

    // after appending "/" to the path. If that second match succeeds, the last
    // return value is the URL to redirect to.
    func (mux *ServeMux) matchOrRedirect(host, method, path string, u *url.URL) (_ *routingNode, matches []string, redirectTo *url.URL) {
    	mux.mu.RLock()
    	defer mux.mu.RUnlock()
    
    	n, matches := mux.tree.match(host, method, path)
    	// If we have an exact match, or we were asked not to try trailing-slash redirection,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		fmt.Fprintf(w, "%s", r.URL.RawQuery)
    	}
    
    	mux := NewServeMux()
    	mux.HandleFunc("/testOne", writeBackQuery)
    	mux.HandleFunc("/testTwo/", writeBackQuery)
    	mux.HandleFunc("/testThree", writeBackQuery)
    	mux.HandleFunc("/testThree/", func(w ResponseWriter, r *Request) {
    		fmt.Fprintf(w, "%s:bar", r.URL.RawQuery)
    	})
    
    	ts := newClientServerTest(t, mode, mux).ts
    
    	tests := [...]struct {
    		path     string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/s3select"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/valyala/bytebufferpool"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/logger/message/log"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/secure-io/sio-go"
    	"github.com/zeebo/xxh3"
    )
    
    const (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    	const debug = false
    	mux := NewServeMux()
    	mux.HandleFunc("/get", func(w ResponseWriter, r *Request) {
    		io.Copy(w, neverEnding('a'))
    	})
    	mux.HandleFunc("/put", func(w ResponseWriter, r *Request) {
    		defer r.Body.Close()
    		io.Copy(io.Discard, r.Body)
    	})
    	ts := newClientServerTest(t, mode, mux).ts
    	timeout := 100 * time.Millisecond
    
    	c := ts.Client()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    }
    
    func handleInternal(storage map[string]rest.Storage, admissionControl admission.Interface, auditSink audit.Sink) http.Handler {
    	container := restful.NewContainer()
    	container.Router(restful.CurlyRouter{})
    	mux := container.ServeMux
    
    	template := APIGroupVersion{
    		Storage: storage,
    
    		Creater:         scheme,
    		Convertor:       scheme,
    		TypeConverter:   managedfields.NewDeducedTypeConverter(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  7. go.sum

    github.com/googleapis/gnostic v0.3.1/go.mod h1:on+2t9HRStVgn95RSsFWFz+6Q0Snyqv1awfrALZdbtU=
    github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8=
    github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
    github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
    github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  8. src/cmd/go/alldocs.go

    // control more specific details.
    //
    // The default output shows the package import path:
    //
    //	bytes
    //	encoding/json
    //	github.com/gorilla/mux
    //	golang.org/x/net/html
    //
    // The -f flag specifies an alternate format for the list, using the
    // syntax of package template. The default output is equivalent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top