http

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgIncomeAssetList

type ArgIncomeAssetList struct {
	Ver string `form:"ver"`
	PS  int64  `form:"ps"`
	PN  int64  `form:"pn"`
}

ArgIncomeAssetList .

type ArgTradeCreate

type ArgTradeCreate struct {
	OID      int64  `form:"oid" validate:"required"`
	OType    string `form:"otype" validate:"required"`
	Currency string `form:"currency" validate:"required"`
}

ArgTradeCreate .

type ArgTradeOrder

type ArgTradeOrder struct {
	OrderID string `form:"order_id" validate:"required"`
}

ArgTradeOrder .

type RespIncomeAsset

type RespIncomeAsset struct {
	OID           int64  `json:"oid"`
	OType         string `json:"otype"`
	Title         string `json:"title"`
	Currency      string `json:"currency"`
	Price         int64  `json:"price"`
	TotalBuyTimes int64  `json:"total_buy_times"`
	NewBuyTimes   int64  `json:"new_buy_times"`
	TotalErrTimes int64  `json:"total_err_times"`
	NewErrTimes   int64  `json:"new_err_times"`
}

RespIncomeAsset .

type RespIncomeAssetList

type RespIncomeAssetList struct {
	List []*RespIncomeAsset `json:"list"`
	Page RespPage           `json:"page"`
}

RespIncomeAssetList .

type RespIncomeAssetOverview

type RespIncomeAssetOverview struct {
	Total         int64 `json:"total"`
	TotalBuyTimes int64 `json:"total_buy_times"`
	MonthNew      int64 `json:"month_new"`
	DayNew        int64 `json:"day_new"`
}

RespIncomeAssetOverview .

type RespPage

type RespPage struct {
	Num   int64 `json:"num"`
	Size  int64 `json:"size"`
	Total int64 `json:"total"`
}

RespPage .

type RespTradeCreate

type RespTradeCreate struct {
	OrderID string `json:"order_id"`
	PayData string `json:"pay_data"`
}

RespTradeCreate .

type RespTradeOrder

type RespTradeOrder struct {
	OrderID  string `json:"order_id"`
	MID      int64  `json:"mid"`
	Biz      string `json:"biz"`
	Platform string `json:"platform"`
	OID      int64  `json:"oid"`
	OType    string `json:"otype"`
	Fee      int64  `json:"fee"`
	Currency string `json:"currency"`
	PayID    string `json:"pay_id"`
	State    string `json:"state"`
	Reason   string `json:"reason"`
}

RespTradeOrder .

Jump to

Keyboard shortcuts

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