com

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoxMove

func BoxMove(
	box_host string, box_port uint16, box_database string, box_username string, box_password string,
	house_host string, house_port uint16, house_database string, house_username string, house_password string,
) (
	house_max_timestamp uint64,
	stats_count_row uint,
	stats_count_row_fail_Scan uint,
	stats_count_row_fail_OutOfRange uint,
	stats_count_row_fail_Batch uint,
	stats_timestamp_first int64,
	stats_timestamp_last int64,
	err error,
)

Make actual data transfer from *CRTA-BOX* to target ClickHouse

func BoxPing

func BoxPing(host string, port uint16, database string, username string, password string) error

Check connection with *CRTA-BOX* instance with embedded PostgreSQL database

func HouseDrive

func HouseDrive(host string, port uint16, database string, username string, password string) (driver.Conn, error)

func HousePingPingHouse

func HousePingPingHouse(host string, port uint16, database string, username string, password string) error

Check connection with target ClickHouse-database

Types

This section is empty.

Jump to

Keyboard shortcuts

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