github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/trace/v2/tasks.go (about) 1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package trace 6 7 import ( 8 "github.com/shogo82148/std/net/http" 9 ) 10 11 // UserTasksHandlerFunc returns a HandlerFunc that reports all tasks found in the trace. 12 func UserTasksHandlerFunc(t *parsedTrace) http.HandlerFunc 13 14 // UserTaskHandlerFunc returns a HandlerFunc that presents the details of the selected tasks. 15 func UserTaskHandlerFunc(t *parsedTrace) http.HandlerFunc