aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/trace/events.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/trace/events.go')
-rw-r--r--vendor/golang.org/x/net/trace/events.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/golang.org/x/net/trace/events.go b/vendor/golang.org/x/net/trace/events.go
index d8daec1..c646a69 100644
--- a/vendor/golang.org/x/net/trace/events.go
+++ b/vendor/golang.org/x/net/trace/events.go
@@ -39,9 +39,9 @@ var buckets = []bucket{
}
// RenderEvents renders the HTML page typically served at /debug/events.
-// It does not do any auth checking; see AuthRequest for the default auth check
-// used by the handler registered on http.DefaultServeMux.
-// req may be nil.
+// It does not do any auth checking. The request may be nil.
+//
+// Most users will use the Events handler.
func RenderEvents(w http.ResponseWriter, req *http.Request, sensitive bool) {
now := time.Now()
data := &struct {