Versions in this module Expand all Collapse all v0 v0.4.0 Jun 18, 2018 Changes in this version + var Discard transport.Transport = ErrorTransport + type CallbackTransport struct + Errors func(context.Context, *model.ErrorsPayload) error + Transactions func(context.Context, *model.TransactionsPayload) error + func (t CallbackTransport) SendErrors(ctx context.Context, p *model.ErrorsPayload) error + func (t CallbackTransport) SendTransactions(ctx context.Context, p *model.TransactionsPayload) error + type ChannelTransport struct + Errors chan<- SendErrorsRequest + Transactions chan<- SendTransactionsRequest + func (c *ChannelTransport) SendErrors(ctx context.Context, payload *model.ErrorsPayload) error + func (c *ChannelTransport) SendTransactions(ctx context.Context, payload *model.TransactionsPayload) error + type ErrorTransport struct + Error error + func (t ErrorTransport) SendErrors(context.Context, *model.ErrorsPayload) error + func (t ErrorTransport) SendTransactions(context.Context, *model.TransactionsPayload) error + type Payload struct + Value interface{} + func (p Payload) Errors() []*model.Error + func (p Payload) Transactions() []model.Transaction + type Payloads []Payload + type RecorderTransport struct + func NewRecorderTracer() (*elasticapm.Tracer, *RecorderTransport) + func (r *RecorderTransport) Payloads() Payloads + func (r *RecorderTransport) SendErrors(ctx context.Context, payload *model.ErrorsPayload) error + func (r *RecorderTransport) SendTransactions(ctx context.Context, payload *model.TransactionsPayload) error + type SendErrorsRequest struct + Payload *model.ErrorsPayload + Result chan<- error + type SendTransactionsRequest struct + Payload *model.TransactionsPayload + Result chan<- error