Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SortMetricsByNameAndTags ¶
type SortMetricsByNameAndTags []*m3.Metric
SortMetricsByNameAndTags ...
func (SortMetricsByNameAndTags) Less ¶
func (a SortMetricsByNameAndTags) Less(i, j int) bool
Less ...
type WaitAtLeast ¶
type WaitAtLeast struct {
// contains filtered or unexported fields
}
WaitAtLeast wait group signals the wait channel when at least the added count are done. This avoids sync.WaitGroup panic when count is negative.
Usage:
wg := WaitAtLeast{} wg.Add(1) wg.Wait() go func() { wg.Done() }()
Click to show internal directories.
Click to hide internal directories.