type go.opencensus.io/plugin/ochttp.Handler
6 uses
go.opencensus.io/plugin/ochttp (current package)
server.go#L44: type Handler struct {
server.go#L81: func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
server.go#L95: func (h *Handler) startTrace(w http.ResponseWriter, r *http.Request) (*http.Request, func()) {
server.go#L142: func (h *Handler) extractSpanContext(r *http.Request) (trace.SpanContext, bool) {
server.go#L149: func (h *Handler) startStats(w http.ResponseWriter, r *http.Request) (http.ResponseWriter, func(tags *addedTags)) {
golang.org/x/pkgsite/internal/dcensus
dcensus.go#L55: Handler: &ochttp.Handler{Handler: mux},
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |