clickhouse

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = module.Module{
	{Constructor: newSettings},
	{Constructor: newService},
}

Module application

Functions

This section is empty.

Types

type Service

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

func (*Service) Insert

func (s *Service) Insert(message *common.FlowMessage)

func (*Service) Name

func (s *Service) Name() string

func (*Service) Ping

func (s *Service) Ping() error

func (*Service) RegisterModel

func (s *Service) RegisterModel(rule string, model *common.Model)

func (*Service) Start

func (s *Service) Start(ctx context.Context) error

func (*Service) Stop

func (s *Service) Stop() error

func (*Service) Worker

func (s *Service) Worker(ctx context.Context)

type Settings

type Settings struct {
	Address      string
	Username     string
	Password     string
	Database     string
	FlowTable    string
	Debug        bool
	BatchSize    int
	BatchTimeout time.Duration

	ReadTimeout  int
	WriteTimeout int
}

Jump to

Keyboard shortcuts

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