Versions in this module Expand all Collapse all v1 v1.18.2 Oct 16, 2020 Changes in this version + func NewRoundTripper(opts ...Option) http.RoundTripper + func RequestToContext(r *http.Request) context.Context + func Write(w http.ResponseWriter, contentType string, status int, body string) + func WriteBadRequestError(w http.ResponseWriter, err error) + func WriteInternalServerError(w http.ResponseWriter, err error) + type Option func(*Options) + func WithRouter(r router.Router) Option + type Options struct + Router router.Router