package
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Dec 8, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Code generated by goctl. DO NOT EDIT.
type AddUserAssetReq struct {
CoinName string `json:"coin_name"`
Qty string `json:"qty"`
}
type AssetInfo struct {
Id int64 `json:"id"`
CoinName string `json:"coin_name"`
CoinID int32 `json:"coin_id"`
AvailableQty string `json:"available_qty"`
FrozenQty string `json:"frozen_qty"`
}
type GetCaptchaResp struct {
CaptchaPic string `json:"captcha_pic"`
CaptchaId string `json:"captcha_id"`
CaptchaLength int32 `json:"captch_length"`
}
type GetUserAssetListResp struct {
AssetList []*AssetInfo `json:"asset_list"`
}
type LoginReq struct {
Username string `json:"username"`
Password string `json:"password"`
Captcha string `json:"captcha"`
CaptchaId string `json:"captcha_id"`
}
type LoginResp struct {
Uid int64 `json:"uid"`
Username string `json:"username"`
Token string `json:"token"`
ExpireTime int64 `json:"expire_time"`
}
type RegisterReq struct {
Username string `json:"username"`
Password string `json:"password"`
ConfirmPassword string `json:"confirm_password"`
PhoneNumber int64 `json:"phone_number,optional"`
Captcha int64 `json:"captcha,optional"`
}
type UserInfo struct {
Uid string `json:"uid"`
Username string `json:"username"`
}
type ValidateTokenReq struct {
Token string `json:"token"`
}
type ValidateTokenResp struct {
UserInfo *UserInfo `json:"user_info"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.