sourcedebugger

package
v1.3.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func RecordEvent

func RecordEvent(writeKey, eventBatch string) bool

RecordEvent is used to put the event batch in the eventBatchChannel, which will be processed by handleEvents.

func Setup

func Setup(backendConfig backendconfig.BackendConfig)

Setup initializes this module

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{}

func (*EventUploader) Transform

func (*EventUploader) Transform(data interface{}) ([]byte, error)

type GatewayEventBatchT

type GatewayEventBatchT struct {
	// contains filtered or unexported fields
}

GatewayEventBatchT is a structure to hold batch of events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL