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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgAssetQuery

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

ArgAssetQuery .

type ArgAssetRegister

type ArgAssetRegister struct {
	MID      int64  `form:"mid" validate:"required"`
	OID      int64  `form:"oid" validate:"required"`
	OType    string `form:"otype" validate:"required"`
	Price    int64  `form:"price" validate:"required"`
	Currency string `form:"currency" validate:"required"`
}

ArgAssetRegister .

type ArgAssetRelation

type ArgAssetRelation struct {
	MID   int64  `form:"mid" validate:"required"`
	OID   int64  `form:"oid" validate:"required"`
	OType string `form:"otype" validate:"required"`
}

ArgAssetRelation .

type ArgAssetRelationDetail

type ArgAssetRelationDetail struct {
	ArgAssetRelation
	Currency string `form:"currency" validate:"required"`
}

ArgAssetRelationDetail .

type ArgIncomeAssetMonthly

type ArgIncomeAssetMonthly struct {
	MID int64  `form:"mid" validate:"required"`
	Ver string `form:"ver"`
}

ArgIncomeAssetMonthly .

type ArgIncomeAssetOverview

type ArgIncomeAssetOverview struct {
	MID int64 `form:"mid" validate:"required"`
}

ArgIncomeAssetOverview .

type ArgTradeCallback

type ArgTradeCallback struct {
	MSGID      int64  `form:"msgId" validate:"required"`
	MSGContent string `form:"msgContent" validate:"required"`
}

ArgTradeCallback .

type ArgTradeRefund

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

ArgTradeRefund .

type ArgTradeRefunds

type ArgTradeRefunds struct {
	OrderIDs []string `form:"order_ids,split" validate:"required"`
}

ArgTradeRefunds .

type RespAssetQuery

type RespAssetQuery struct {
	Price         int64            `json:"price"`
	PlatformPrice map[string]int64 `json:"platform_price"`
}

RespAssetQuery .

func (*RespAssetQuery) Parse

func (r *RespAssetQuery) Parse(as *model.Asset, pp map[string]int64)

Parse .

type RespAssetRelation

type RespAssetRelation struct {
	State string `json:"state"`
}

RespAssetRelation .

type RespAssetRelationDetail

type RespAssetRelationDetail struct {
	RelationState      string           `json:"relation_state"`
	AssetPrice         int64            `json:"asset_price"`
	AssetPlatformPrice map[string]int64 `json:"asset_platform_price"`
}

RespAssetRelationDetail .

type RespIncomeAssetMonthly

type RespIncomeAssetMonthly struct {
	List []*RespIncomeAssetMonthlyByContent `json:"list"`
}

RespIncomeAssetMonthly .

type RespIncomeAssetMonthlyByContent

type RespIncomeAssetMonthlyByContent struct {
	OID           int64  `json:"oid"`
	OType         string `json:"otype"`
	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"`
}

RespIncomeAssetMonthlyByContent .

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 .

Jump to

Keyboard shortcuts

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