Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ViewLatency = &view.View{ Measure: measureLatency, Aggregation: distMS, TagKeys: []tag.Key{keyOperation, keyHost, keyStatusCode, keyError}, } ViewLength = &view.View{ Measure: measureLength, Aggregation: distLength, TagKeys: []tag.Key{keyOperation, keyHost}, } OpenCensusViews = []*view.View{ ViewLatency, ViewLength, } )
Functions ¶
func New ¶
New creates a content routing API client. The Provider and identity parameters are option. If they are nil, the `Provide` method will not function.
func WithHTTPClient ¶
func WithHTTPClient(h httpClient) option
func WithIdentity ¶
func WithProviderInfo ¶
Types ¶
type ResponseBodyLimitedTransport ¶
type ResponseBodyLimitedTransport struct { http.RoundTripper LimitBytes int64 }
Click to show internal directories.
Click to hide internal directories.