Documentation ¶
Overview ¶
Package userlatency holds the routines which manage the user latency information
Index ¶
- type Wrapper
- func (ulw *Wrapper) Collect()
- func (ulw Wrapper) Description() string
- func (ulw Wrapper) EmptyRowContent() string
- func (ulw Wrapper) FirstCollectTime() time.Time
- func (ulw Wrapper) HaveRelativeStats() bool
- func (ulw Wrapper) Headings() string
- func (ulw Wrapper) LastCollectTime() time.Time
- func (ulw Wrapper) Len() int
- func (ulw *Wrapper) ResetStatistics()
- func (ulw Wrapper) RowContent() []string
- func (ulw Wrapper) TotalRowContent() string
- func (ulw Wrapper) WantRelativeStats() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper wraps a UserLatency struct
func NewUserLatency ¶
NewUserLatency creates a wrapper around UserLatency
func (*Wrapper) Collect ¶
func (ulw *Wrapper) Collect()
Collect data from the db, then sort the results.
func (Wrapper) Description ¶
Description returns a description of the table
func (Wrapper) EmptyRowContent ¶
EmptyRowContent returns an empty string of data (for filling in)
func (Wrapper) FirstCollectTime ¶
FirstCollectTime returns the time the first value was collected
func (Wrapper) HaveRelativeStats ¶
HaveRelativeStats is true for this object
func (Wrapper) LastCollectTime ¶
LastCollectTime returns the time the last value was collected
func (*Wrapper) ResetStatistics ¶ added in v1.1.0
func (ulw *Wrapper) ResetStatistics()
ResetStatistics resets the statistics to last values
func (Wrapper) RowContent ¶
RowContent returns the rows we need for displaying
func (Wrapper) TotalRowContent ¶
TotalRowContent returns all the totals
func (Wrapper) WantRelativeStats ¶
WantRelativeStats indiates if we want relative statistics