timescale

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Url string
}

type TimescalePublisher

type TimescalePublisher struct {
	DbClient *sql.DB
	Config   *Config
}

func NewTimescalePublisher

func NewTimescalePublisher(config *Config) *TimescalePublisher

func (*TimescalePublisher) Close

func (t *TimescalePublisher) Close() error

func (*TimescalePublisher) PublishTransactionHistory

func (t *TimescalePublisher) PublishTransactionHistory(stationId string, transaction connect.Transaction) error

func (*TimescalePublisher) RunMigrations

func (t *TimescalePublisher) RunMigrations() error

func (*TimescalePublisher) TransactionPublished

func (t *TimescalePublisher) TransactionPublished(transaction connect.Transaction) bool

Jump to

Keyboard shortcuts

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