sql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func New

func New(c config.SQL) (*Adapter, error)

func (*Adapter) ClearAllSymbolListenersCount

func (a *Adapter) ClearAllSymbolListenersCount(ctx context.Context) error

func (*Adapter) ClearSymbolListenerSubscribers

func (a *Adapter) ClearSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) error

func (*Adapter) DecrementSymbolListenerSubscribers

func (a *Adapter) DecrementSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) (int64, error)

func (*Adapter) GetSymbolListenerSubscribers

func (a *Adapter) GetSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) (int64, error)

func (*Adapter) IncrementSymbolListenerSubscribers

func (a *Adapter) IncrementSymbolListenerSubscribers(ctx context.Context, exchange, pairSymbol string) (int64, error)

func (*Adapter) Reset

func (a *Adapter) Reset(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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