Versions in this module Expand all Collapse all v1 v1.0.1 Apr 1, 2022 v1.0.0 Mar 31, 2022 Changes in this version + type HTTPError struct + Message string + Response *http.Response + func (e *HTTPError) Error() string + type HTTPTransport struct + Client *http.Client + func NewHTTPTransport() (*HTTPTransport, error) + func (t *HTTPTransport) SendProfile(ctx context.Context, metadataReader io.Reader, profileReaders ...io.Reader) error + func (t *HTTPTransport) SendStream(ctx context.Context, r io.Reader) error + func (t *HTTPTransport) SetAPIKey(apiKey string) + func (t *HTTPTransport) SetSecretToken(secretToken string) + func (t *HTTPTransport) SetServerURL(u ...*url.URL) + func (t *HTTPTransport) SetUserAgent(ua string) + func (t *HTTPTransport) WatchConfig(ctx context.Context, args apmconfig.WatchParams) <-chan apmconfig.Change + type Transport interface + SendStream func(context.Context, io.Reader) error + var Default Transport + var Discard = discardTransport{} + func InitDefault() (Transport, error)