clickhouse

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods added in v0.4.0

func Methods() []string

Methods returns module methods

func ModuleName added in v0.4.0

func ModuleName(name string) string

ModuleName returns the module name

Types

type Clickhouse

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

Clickhouse represents datasource of type Clickhouse

func New

func New(cfg clickhouseCfg.Clickhouse, logger *zap.Logger) (*Clickhouse, error)

New creates new Clickhouse datasource

func (*Clickhouse) GetLoader

func (m *Clickhouse) GetLoader(_ modules.Job) lua.LGFunction

GetLoader returns the datasource lua loader

func (*Clickhouse) Name

func (m *Clickhouse) Name() string

Name returns the datasource name

func (*Clickhouse) Stop

func (m *Clickhouse) Stop() error

Stop the datasource

Jump to

Keyboard shortcuts

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