Documentation ¶
Index ¶
- Variables
- func AttachToRequest(data UTMData, req *http.Request) *http.Request
- func ContextTransfer(in, out context.Context) context.Context
- func ContextWithUTMData(parentCtx context.Context, data UTMData) context.Context
- func Middleware() func(http.Handler) http.Handler
- type RoundTripper
- type UTMData
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func ContextWithUTMData ¶
Types ¶
type RoundTripper ¶
type RoundTripper struct {
// contains filtered or unexported fields
}
func (*RoundTripper) SetTransport ¶
func (r *RoundTripper) SetTransport(tripper http.RoundTripper)
func (*RoundTripper) Transport ¶
func (r *RoundTripper) Transport() http.RoundTripper
Click to show internal directories.
Click to hide internal directories.