sql

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func New

func New(cfg config.SQL) (*DB, error)

func (*DB) ClearAllSymbolListenersCount

func (sqldb *DB) ClearAllSymbolListenersCount(ctx context.Context) error

func (*DB) ClearSymbolListenerSubscribers

func (sqldb *DB) ClearSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) error

func (*DB) DecrementSymbolListenerSubscribers

func (sqldb *DB) DecrementSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) (int64, error)

func (*DB) GetSymbolListenerSubscribers

func (sqldb *DB) GetSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) (int64, error)

func (*DB) IncrementSymbolListenerSubscribers

func (sqldb *DB) IncrementSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) (int64, error)

func (*DB) Reset

func (d *DB) Reset() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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