Versions in this module Expand all Collapse all v0 v0.6.0 Oct 3, 2017 Changes in this version + func InstrumentingMiddleware(duration metrics.Histogram) endpoint.Middleware + func LoggingMiddleware(logger log.Logger) endpoint.Middleware + func MakeConcatEndpoint(s addservice.Service) endpoint.Endpoint + func MakeSumEndpoint(s addservice.Service) endpoint.Endpoint + type ConcatRequest struct + A string + B string + type ConcatResponse struct + Err error + V string + func (r ConcatResponse) Failed() error + type Failer interface + Failed func() error + type Set struct + ConcatEndpoint endpoint.Endpoint + SumEndpoint endpoint.Endpoint + func New(svc addservice.Service, logger log.Logger, duration metrics.Histogram, ...) Set + func (s Set) Concat(ctx context.Context, a, b string) (string, error) + func (s Set) Sum(ctx context.Context, a, b int) (int, error) + type SumRequest struct + A int + B int + type SumResponse struct + Err error + V int + func (r SumResponse) Failed() error