Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnMeasure ¶
func OnMeasure(metric Metric)
OnMeasure push Metric to gorotine pool then handled automatic.
func StartMetricManager ¶
func StartMetricManager()
func StopMetricManager ¶
func StopMetricManager()
Types ¶
type BaseMetric ¶
type BaseMetric = event.UnimplementedEvent
type MetricManager ¶
type MetricManager interface { Start() Stop() OnMeasure(metric Metric) }
func NewMetricManager ¶
Click to show internal directories.
Click to hide internal directories.