clickhouse

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchBuilder

type BatchBuilder interface {
	BuildBatch(ctx context.Context, sourceBatch interface{}) (batches []driver.Batch, err error)
}

type Storage

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

func (*Storage) Close

func (st *Storage) Close() error

func (*Storage) Start

func (st *Storage) Start(ctx context.Context) error

func (*Storage) WriteBatchAsync

func (st *Storage) WriteBatchAsync(batch interface{})

type StorageConfig

type StorageConfig struct {
	CurrencyNum int `file:"currency_num" default:"3"`
	RetryNum    int `file:"retry_num" default:"5"`
}

Directories

Path Synopsis
log

Jump to

Keyboard shortcuts

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