Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOverThreshold = errors.New("value is over threshold")
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Threshold int // contains filtered or unexported fields }
func NewHandler ¶
type HandlerWithLogs ¶
type HandlerWithLogs struct {
// contains filtered or unexported fields
}
func WithLogs ¶
func WithLogs(s Service, logger Logger) HandlerWithLogs
type HandlerWithMetrics ¶
type HandlerWithMetrics struct {
// contains filtered or unexported fields
}
func WithMetrics ¶
func WithMetrics(s Service, metrics Metrics) HandlerWithMetrics
type HandlerWithTrace ¶
type HandlerWithTrace struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.