go-zero/core/stat/task.go

11 lines
164 B
Go
Raw Normal View History

2020-07-26 17:09:05 +08:00
package stat
import "time"
// A Task is a task that is reported to Metrics.
2020-07-26 17:09:05 +08:00
type Task struct {
Drop bool
Duration time.Duration
Description string
}