testutil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelOrderJsonResponse

func CancelOrderJsonResponse() string

func CancelOrdersJsonResponse

func CancelOrdersJsonResponse() string

func CreateOrderJsonResponse

func CreateOrderJsonResponse() string

func ExpectedCancelOrderBody

func ExpectedCancelOrderBody() string

func ExpectedCancelOrderModel

func ExpectedCancelOrderModel() *models.Order

func ExpectedCancelOrdersBody

func ExpectedCancelOrdersBody() string

func ExpectedCancelOrdersModel

func ExpectedCancelOrdersModel() *models.Orders

func ExpectedCreateOrderBody

func ExpectedCreateOrderBody() string

func ExpectedCreateOrderModel

func ExpectedCreateOrderModel() *models.Order

func ExpectedGetAssetsModel

func ExpectedGetAssetsModel() *models.Assets

func ExpectedGetCandlesticsModel

func ExpectedGetCandlesticsModel() *models.Candlesticks

func ExpectedGetOrderModel

func ExpectedGetOrderModel() *models.Order

func ExpectedGetOrdersInfoBody

func ExpectedGetOrdersInfoBody() string

func ExpectedGetOrdersInfoModel

func ExpectedGetOrdersInfoModel() *models.Orders

func ExpectedGetOrdersModel

func ExpectedGetOrdersModel() *models.Orders

func ExpectedGetTickerModel

func ExpectedGetTickerModel() *models.Ticker

func ExpectedGetTradesModel

func ExpectedGetTradesModel() *models.Trades

func ExpectedGetTransactionModel

func ExpectedGetTransactionModel() *models.Transactions

func ExpectedGetWithdrawalAccountsModel

func ExpectedGetWithdrawalAccountsModel() *models.WithdrawalAccounts

func ExpectedRequestWithdrawalBody

func ExpectedRequestWithdrawalBody() string

func ExpectedRequestWithdrawalModel

func ExpectedRequestWithdrawalModel() *models.RequestWithdrawal

func GenerateTestServer

func GenerateTestServer(t *testing.T, expectPath string, expectMethod string, expectBody string, jsonResponse string) *httptest.Server

func GetAssetsJsonResponse

func GetAssetsJsonResponse() string

func GetCandlesticsJsonResponse

func GetCandlesticsJsonResponse() string

func GetOrderJsonResponse

func GetOrderJsonResponse() string

func GetOrdersInfoJsonResponse

func GetOrdersInfoJsonResponse() string

func GetOrdersJsonResponse

func GetOrdersJsonResponse() string

func GetTickerJsonResponse

func GetTickerJsonResponse() string

func GetTradesJsonResponse

func GetTradesJsonResponse() string

func GetTransactionJsonResponse

func GetTransactionJsonResponse() string

func GetWithdrawalAccountsJsonResponse

func GetWithdrawalAccountsJsonResponse() string

func RequestWithdrawalJsonResponse

func RequestWithdrawalJsonResponse() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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