storageworker

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trace

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

Trace Used to otel jaeger json data analysis

func NewTrace

func NewTrace(params WorkerParams) *Trace

func (*Trace) SetParams

func (w *Trace) SetParams(params WorkerParams)

func (*Trace) Start

func (w *Trace) Start()

func (*Trace) Stop

func (w *Trace) Stop()

type WorkerParams

type WorkerParams struct {
	Spec string

	// for trace worker
	Source storage.Datasource // source database.table
	Target storage.Datasource // target database.table

	DB *sql.DB // clickhouse instance
}

Jump to

Keyboard shortcuts

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