Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithDisableEventUploads = func(disableEventUploads bool) func(h *Handle) { return func(h *Handle) { h.disableEventUploads = disableEventUploads } }
Functions ¶
This section is empty.
Types ¶
type EventUploadBatchT ¶
type EventUploadBatchT struct { WriteKey string ReceivedAt string Batch []EventUploadT }
EventUploadBatchT is a structure to hold batch of events
type EventUploadT ¶
type EventUploadT map[string]interface{}
EventUploadT is a structure to hold actual event data
type EventUploader ¶
type EventUploader struct {
// contains filtered or unexported fields
}
func NewEventUploader ¶ added in v1.6.0
func NewEventUploader(log logger.Logger) *EventUploader
func (*EventUploader) Transform ¶
func (e *EventUploader) Transform(eventBuffer []*GatewayEventBatchT) ([]byte, error)
type GatewayEventBatchT ¶
GatewayEventBatchT is a structure to hold batch of events
type Handle ¶ added in v1.6.0
type Handle struct {
// contains filtered or unexported fields
}
func (*Handle) RecordEvent ¶ added in v1.6.0
RecordEvent is used to put the event batch in the eventBatchChannel, which will be processed by handleEvents.
type SourceDebugger ¶ added in v1.6.0
func NewHandle ¶ added in v1.6.0
func NewHandle(backendConfig backendconfig.BackendConfig, opts ...Opt) (SourceDebugger, error)
func NewNoOpService ¶ added in v1.6.0
func NewNoOpService() SourceDebugger
Click to show internal directories.
Click to hide internal directories.