Versions in this module Expand all Collapse all v0 v0.4.11 Apr 17, 2023 v0.4.1 Apr 3, 2023 Changes in this version + var ImportPath = importPath() + var OpenCensusViews = []*view.View + var ViewLatency = &view.View + var ViewLength = &view.View + func New(baseURL string, opts ...option) (*client, error) + func WithHTTPClient(h httpClient) option + func WithIdentity(identity crypto.PrivKey) option + func WithProviderInfo(peerID peer.ID, addrs []multiaddr.Multiaddr) option + func WithUserAgent(ua string) option + type HTTPError struct + Body string + StatusCode int + func (e *HTTPError) Error() string + type ResponseBodyLimitedTransport struct + LimitBytes int64 + UserAgent string + func (r *ResponseBodyLimitedTransport) RoundTrip(req *http.Request) (*http.Response, error)