Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmpty = errors.New("empty string")
ErrEmpty is returned when an input string is empty.
Functions ¶
This section is empty.
Types ¶
type StringService ¶
StringService provides operations on strings.
func NewInstrumentingMiddleware ¶
func NewInstrumentingMiddleware(requestCount metrics.Counter, requestLatency metrics.Histogram, countResult metrics.Histogram, svc StringService) StringService
func NewLoggingMiddleware ¶
func NewLoggingMiddleware(logger log.Logger, svc StringService) StringService
func NewStringService ¶
func NewStringService() StringService
Click to show internal directories.
Click to hide internal directories.