Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterScan ¶
func RegisterScan(metric *Metric)
RegisterScan fetches a metric handler and enqueues a metric
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics is the handler processing all individual scan metrics
func Default ¶
func Default() *Metrics
Default creates a new metrics handler if none exists, otherwise returns the existing one
func (*Metrics) HandleUpdate ¶
HandleUpdate dequeue the metric channel and processes it
func (*Metrics) QueueIsEmpty ¶ added in v1.3.0
QueueIsEmpty checks whether any messages are enqueued in the channel
Click to show internal directories.
Click to hide internal directories.