Versions in this module Expand all Collapse all v1 v1.3.1 Jul 11, 2018 v1.3.0 Jun 10, 2018 Changes in this version + func CopyURL(base *url.URL, path string) *url.URL + func DecodeJSONRequest(r *http.Request, into interface{}) error + func DecodeJSONResponse(r *http.Response, into interface{}) error + func EncodeJSONResponse(ctx context.Context, w http.ResponseWriter, response interface{}) error + func EncodeRequestWithToken(token string, next httptransport.EncodeRequestFunc) httptransport.EncodeRequestFunc + func ErrorEncoder(_ context.Context, err error, w http.ResponseWriter) + func JSONErrorDecoder(r *http.Response) error + func NewRouter(logger log.Logger) (*mux.Router, []httptransport.ServerOption)