package
0.0.0-20211116124531-e18c82edc2f9
Repository: https://github.com/go-kit/examples.git
Documentation: pkg.go.dev

# Functions

InstrumentingMiddleware returns an endpoint middleware that records the duration of each invocation to the passed histogram.
LoggingMiddleware returns an endpoint middleware that logs the duration of each invocation, and the resulting error, if any.
MakeConcatEndpoint constructs a Concat endpoint wrapping the service.
MakeSumEndpoint constructs a Sum endpoint wrapping the service.
New returns a Set that wraps the provided server, and wires in all of the expected endpoint middlewares via the various parameters.

# Structs

ConcatRequest collects the request parameters for the Concat method.
ConcatResponse collects the response values for the Concat method.
Set collects all of the endpoints that compose an add service.
SumRequest collects the request parameters for the Sum method.
SumResponse collects the response values for the Sum method.