db

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrackingDB

type TrackingDB interface {
	GetPgConn() *pgxpool.Pool
	GetChConn() driver.Conn
	clickhouse.AVLDBConn
	postgres.FMSDataBaseConn
}

type TrackingDataBase

type TrackingDataBase struct {
	*clickhouse.AVLDataBase
	*postgres.FMSDataBase
	// contains filtered or unexported fields
}

func NewTrackingDB

func NewTrackingDB(chURL, pgURL string) (*TrackingDataBase, error)

func (*TrackingDataBase) GetChConn

func (tdb *TrackingDataBase) GetChConn() driver.Conn

func (*TrackingDataBase) GetPgConn

func (tdb *TrackingDataBase) GetPgConn() *pgxpool.Pool

Directories

Path Synopsis
Package mock_db is a generated GoMock package.
Package mock_db is a generated GoMock package.

Jump to

Keyboard shortcuts

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