Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseQueue ¶
func CloseQueue() bool
queueJob puts job into channel. If channel buffer is full, return false.
func SendJob ¶
func SendJob(metricName string, metricTytpe MetricType) bool
send a job worker processes jobs.
Types ¶
type JobObject ¶
type JobObject struct { NameStats string Type MetricType CreateDate time.Time }
swagger:model OLDAliasStruct
type MetricType ¶
type MetricType int
const ( GaugeType MetricType = iota CounterType HistogramType )
Click to show internal directories.
Click to hide internal directories.