go-zero/core/stat/task.go
2024-03-08 22:35:17 +08:00

11 lines
156 B
Go

package stat
import "time"
// A Task is a task reported to Metrics.
type Task struct {
Drop bool
Duration time.Duration
Description string
}