package
0.0.0-20191105165525-cc0457beab36
Repository: https://github.com/anupam0601/golang-stuff.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.
MakeCreateEndpoint returns an endpoint that invokes Create on the service.
New returns a Endpoints struct that wraps the provided service, and wires in all of the expected endpoint middlewares.
# Structs
CreateRequest collects the request parameters for the Create method.
CreateResponse collects the response parameters for the Create method.
Endpoints collects all of the endpoints that compose a profile service.