db

package
v0.0.0-...-8682519 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseRequest

func CloseRequest(dbh *sqlx.DB, rid uint64, data []data.Kline) error

func PersistETHPrice

func PersistETHPrice(dbh *sqlx.DB, avp decimal.Decimal) error

Types

type PriceReq

type PriceReq struct {
	ID     uint64    `db:"id"`
	Asset  string    `db:"what_asset"`
	Time   time.Time `db:"what_time"`
	Status string    `db:"status"`
}

func GetOpenPriceRequests

func GetOpenPriceRequests(dbh *sqlx.DB) ([]PriceReq, error)

Jump to

Keyboard shortcuts

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