clickhouse

package
v0.0.0-...-1864071 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBClient

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

func (*DBClient) Close

func (c *DBClient) Close()

func (*DBClient) FetchEvents

func (c *DBClient) FetchEvents() []map[string]interface{}

func (*DBClient) InsertEvent

func (c *DBClient) InsertEvent(event string)

type DBInterface

type DBInterface interface {
	InsertEvent(event string)
	FetchEvents() []map[string]interface{}
	Close()
}

func NewDBClient

func NewDBClient(conf *config.Config) (DBInterface, error)

Jump to

Keyboard shortcuts

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