Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter interface { Failure(id string, endTime time.Duration, err error) error Success(id string, endTime time.Duration) error }
Reporter interface for metric recording can use this interface to implement statsd metric reporting
func NewReporter ¶
func NewReporter() Reporter
NewReporter basic Reporter implementation that logs success and failure
Click to show internal directories.
Click to hide internal directories.