debugger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Transformer

type Transformer interface {
	Transform(data interface{}) ([]byte, error)
}

type Uploader

type Uploader struct {
	Client sysUtils.HTTPClientI
	// contains filtered or unexported fields
}

func (*Uploader) RecordEvent

func (uploader *Uploader) RecordEvent(data interface{}) bool

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

func (*Uploader) Setup

func (uploader *Uploader) Setup()

func (*Uploader) Start

func (uploader *Uploader) Start()

type UploaderI

type UploaderI interface {
	Start()
	RecordEvent(data interface{}) bool
}

func New

func New(url string, transformer Transformer) UploaderI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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