Versions in this module Expand all Collapse all v0 v0.2.0 Jul 27, 2016 v0.1.0 Jun 7, 2016 Changes in this version + var ErrBadCast = errors.New("bad cast") + var ErrContextCanceled = errors.New("context canceled") + func Nop(context.Context, interface{}) (interface{}, error) + type Endpoint func(ctx context.Context, request interface{}) (response interface{}, err error) + type Middleware func(Endpoint) Endpoint + func Chain(outer Middleware, others ...Middleware) Middleware