- Sort Score
- Result 10 results
- Languages All
Results 21 - 23 of 23 for HandlerFunc (0.52 sec)
-
cmd/metrics-v2.go
logger.CriticalIf(GlobalContext, registry.Register(c)) // DefaultGatherers include golang metrics and process metrics. gatherers := prometheus.Gatherers{ registry, } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = funcName tc.ResponseRecorder.LogErrBody = true }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 133.4K bytes - Viewed (0) -
cmd/object-handlers_test.go
} // Below is how CopyObjectPartHandler is registered. // bucket.Methods(http.MethodPut).Path("/{object:.+}").HeadersRegexp("X-Amz-Copy-Source", ".*?(\\/|%2F).*?").HandlerFunc(api.CopyObjectPartHandler).Queries("partNumber", "{partNumber:[0-9]+}", "uploadId", "{uploadId:.*}") // Its necessary to set the "X-Amz-Copy-Source" header for the request to be accepted by the handler.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
api/go1.txt
pkg net/http, method (*Transport) RegisterProtocol(string, RoundTripper) pkg net/http, method (*Transport) RoundTrip(*Request) (*Response, error) pkg net/http, method (Dir) Open(string) (File, error) pkg net/http, method (HandlerFunc) ServeHTTP(ResponseWriter, *Request) pkg net/http, method (Header) Add(string, string) pkg net/http, method (Header) Del(string) pkg net/http, method (Header) Get(string) string
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)