metricwriter nil
This commit is contained in:
@ -59,6 +59,8 @@ type metric_empty struct{}
|
||||
func (mw *metric_empty) Set(newval int64) {}
|
||||
func (mw *metric_empty) Add(inc int64) {}
|
||||
|
||||
var MetricWriterNil = MetricWriter(&metric_empty{})
|
||||
|
||||
type metric_int64 struct {
|
||||
valptr *int64
|
||||
key string
|
||||
|
||||
Reference in New Issue
Block a user