mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-15 01:17:34 +00:00
12 lines
461 B
Go
12 lines
461 B
Go
package channelmetrics
|
|
|
|
import "time"
|
|
|
|
// noopCollector is a default implementation of the MetricsCollector interface
|
|
// for internal package use only.
|
|
type noopCollector struct{}
|
|
|
|
func (noopCollector) RecordProduceDuration(duration time.Duration) {}
|
|
func (noopCollector) RecordConsumeDuration(duration time.Duration) {}
|
|
func (noopCollector) RecordChannelLen(size int) {}
|
|
func (noopCollector) RecordChannelCap(capacity int) {}
|