Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RoundDuration = time.Millisecond * 1
RoundDuration is the default value used for rounding durations.
Functions ¶
This section is empty.
Types ¶
type CallStats ¶
type CallStats struct { Name string `json:"name,omitempty"` Count uint64 `json:"count"` Total float64 `json:"total,omitempty"` Avg float64 `json:"avg,omitempty"` Min float64 `json:"min,omitempty"` Max float64 `json:"max,omitempty"` }
CallStats represents generic stats for call metrics.
Click to show internal directories.
Click to hide internal directories.