Lines Matching refs:httptransport
13 httptransport "github.com/go-kit/kit/transport/http" packageName
18 client httptransport.HTTPClient
28 before []httptransport.RequestFunc
29 after []httptransport.ClientResponseFunc
30 finalizer httptransport.ClientFinalizerFunc
54 before: []httptransport.RequestFunc{},
55 after: []httptransport.ClientResponseFunc{},
89 func SetClient(client httptransport.HTTPClient) ClientOption {
95 func ClientBefore(before ...httptransport.RequestFunc) ClientOption {
102 func ClientAfter(after ...httptransport.ClientResponseFunc) ClientOption {
108 func ClientFinalizer(f httptransport.ClientFinalizerFunc) ClientOption {
155 ctx = context.WithValue(ctx, httptransport.ContextKeyResponseHeaders, resp.Header)
156 ctx = context.WithValue(ctx, httptransport.ContextKeyResponseSize, resp.ContentLength)