withdraw

package
v0.0.0-...-ae86ed1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoResults is the error returned if no results are found
	ErrNoResults = errors.New("no results found")
)

Functions

func Event

func Event(res *withdraw.Response)

Event stores Withdrawal Response details in database

func GetEventByExchangeID

func GetEventByExchangeID(exchange, id string) (*withdraw.Response, error)

GetEventByExchangeID return requested withdraw information by Exchange ID

func GetEventByUUID

func GetEventByUUID(id string) (*withdraw.Response, error)

GetEventByUUID return requested withdraw information by ID

func GetEventsByDate

func GetEventsByDate(exchange string, start, end time.Time, limit int) ([]*withdraw.Response, error)

GetEventsByDate returns requested withdraw information by date range

func GetEventsByExchange

func GetEventsByExchange(exchange string, limit int) ([]*withdraw.Response, error)

GetEventsByExchange returns all withdrawal requests by exchange

Types

This section is empty.

Jump to

Keyboard shortcuts

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