Versions in this module Expand all Collapse all v0 v0.4.0 Jun 18, 2018 Changes in this version + type HTTPError struct + Message string + Op string + Response *http.Response + func (e *HTTPError) Error() string + type HTTPTransport struct + Client *http.Client + func NewHTTPTransport(serverURL, secretToken string) (*HTTPTransport, error) + func (t *HTTPTransport) SendErrors(ctx context.Context, p *model.ErrorsPayload) error + func (t *HTTPTransport) SendTransactions(ctx context.Context, p *model.TransactionsPayload) error + type Transport interface + SendErrors func(context.Context, *model.ErrorsPayload) error + SendTransactions func(context.Context, *model.TransactionsPayload) error + var Default Transport + var Discard = discardTransport{} + func InitDefault() (Transport, error)