app

package
v0.0.0-...-7ed3587 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const LogKeyTXID = "tx_id"

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func CreateApp

func CreateApp(logger logging.Logger, dbConn *sqlx.DB, monitoringConf *config.Monitoring) *App

func (*App) Start

func (app *App) Start(logger logging.Logger, apiConf *config.API)

type MonitorTxService

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

func CreateMonitorTxService

func CreateMonitorTxService(dbConn *sqlx.DB,
	newTxIDCh, cancelTxIDCh chan string,
	timeout time.Duration,
) *MonitorTxService

func (*MonitorTxService) Serve

func (mtx *MonitorTxService) Serve(ctx context.Context)

Jump to

Keyboard shortcuts

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