Documentation ¶
Index ¶
- func AddCryptoPurchase(c *gin.Context)
- func AddTranslation(c *gin.Context)
- func AddressGenerateMemberAccess(c *gin.Context)
- func AdjustOut(c *gin.Context)
- func AdminGenerateMemberAccess(c *gin.Context)
- func AdminLoginGateway(c *gin.Context)
- func AdminLoginGatewayTmpPassword(c *gin.Context)
- func BindEmail(c *gin.Context)
- func BindMnemonicv1(c *gin.Context)
- func BindMobile(c *gin.Context)
- func BindPlacement(c *gin.Context)
- func CancelCryptoPurchase(c *gin.Context)
- func CancelWithdraw(c *gin.Context)
- func CheckAppVersv1(c *gin.Context)
- func CheckImportMemberAccountv1(c *gin.Context)
- func CheckSecondaryPasswordv1(c *gin.Context)
- func CountryList(c *gin.Context)
- func CreateAccount(c *gin.Context)
- func CreateAccountv2(c *gin.Context)
- func CreateMemberKYCv1(c *gin.Context)
- func DeactivateMemberAccountv1(c *gin.Context)
- func GetAboutUsDetails(c *gin.Context)
- func GetAppTranslation(c *gin.Context)
- func GetAppVersListv1(c *gin.Context)
- func GetBallotSetting(c *gin.Context)
- func GetCryptoAddress(c *gin.Context)
- func GetCryptoDetail(c *gin.Context)
- func GetCryptoPrice(c *gin.Context)
- func GetCurrentServerTime(c *gin.Context)
- func GetDashboard(c *gin.Context)
- func GetDashboardBanner(c *gin.Context)
- func GetExchangeSetting(c *gin.Context)
- func GetFaqList(c *gin.Context)
- func GetMemberAccountListv1(c *gin.Context)
- func GetMemberAccountTransferExchangeBatchAssetsv1(c *gin.Context)
- func GetMemberAccountTransferExchangeBatchSetupv1(c *gin.Context)
- func GetMemberAnnouncementListv1(c *gin.Context)
- func GetMemberBalanceListv1(c *gin.Context)
- func GetMemberBallotList(c *gin.Context)
- func GetMemberBlockChainExplorerListv1(c *gin.Context)
- func GetMemberDownloadListv1(c *gin.Context)
- func GetMemberEventListv1(c *gin.Context)
- func GetMemberKYCv1(c *gin.Context)
- func GetMemberMiningNodeListUpdateV1(c *gin.Context)
- func GetMemberMiningNodeListV1(c *gin.Context)
- func GetMemberMiningNodeTopupListV1(c *gin.Context)
- func GetMemberNotificationListv1(c *gin.Context)
- func GetMemberPdf(c *gin.Context)
- func GetMemberPoolListv1(c *gin.Context)
- func GetMemberPushNotificationListv1(c *gin.Context)
- func GetMemberSalesListSummary(c *gin.Context)
- func GetMemberSalesListv1(c *gin.Context)
- func GetMemberSalesTopupListv1(c *gin.Context)
- func GetMemberSettingStatus(c *gin.Context)
- func GetMemberStatementListv1(c *gin.Context)
- func GetMemberStatementListv2(c *gin.Context)
- func GetMemberStrategyBalancev1(c *gin.Context)
- func GetMemberStrategyFuturesBalancev1(c *gin.Context)
- func GetMemberSupportTicketCategoryList(c *gin.Context)
- func GetMemberSupportTicketHistoryList(c *gin.Context)
- func GetMemberSupportTicketList(c *gin.Context)
- func GetMemberTreev1(c *gin.Context)
- func GetPendingTransferOut(c *gin.Context)
- func GetPreloginDocumentList(c *gin.Context)
- func GetProfile(c *gin.Context)
- func GetRandUsername(c *gin.Context)
- func GetRewardGraph(c *gin.Context)
- func GetRewardHistory(c *gin.Context)
- func GetRewardStatement(c *gin.Context)
- func GetRewardSummary(c *gin.Context)
- func GetStrategyRanking(c *gin.Context)
- func GetTransferDetail(c *gin.Context)
- func GetTransferExchangeSetting(c *gin.Context)
- func GetTransferSetting(c *gin.Context)
- func GetTransferStatement(c *gin.Context)
- func GetTranslation(c *gin.Context)
- func GetWalletSigningKey(c *gin.Context)
- func GetWalletStatement(c *gin.Context)
- func GetWalletStatementStrategy(c *gin.Context)
- func GetWalletSummaryDetails(c *gin.Context)
- func GetWalletTransactionv1(c *gin.Context)
- func GetWithdrawDetail(c *gin.Context)
- func GetWithdrawSetting(c *gin.Context)
- func GetWithdrawStatement(c *gin.Context)
- func GetWithdrawTransactionFee(c *gin.Context)
- func LanguageList(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func PlacementSetup(c *gin.Context)
- func PostBallot(c *gin.Context)
- func PostBallotWinner(c *gin.Context)
- func PostExchange(c *gin.Context)
- func PostSupportTicket(c *gin.Context)
- func PostSupportTicketClose(c *gin.Context)
- func PostSupportTicketReply(c *gin.Context)
- func PostTransfer(c *gin.Context)
- func PostTransferExchange(c *gin.Context)
- func PostTransferExchangeBatch(c *gin.Context)
- func PostTransferExchangeV2(c *gin.Context)
- func PostWithdraw(c *gin.Context)
- func ProcessAppVersv1(c *gin.Context)
- func ProcessRemoveMemberPushNotificationv1(c *gin.Context)
- func Register(c *gin.Context)
- func Registerv2(c *gin.Context)
- func RequestMnemonicv1(c *gin.Context)
- func RequestOTP(c *gin.Context)
- func ResetPassword(c *gin.Context)
- func ResetPasswordWithHashedPrivateKey(c *gin.Context)
- func ResetSecondaryPin(c *gin.Context)
- func SwitchCurrentActiveMemberAccountv1(c *gin.Context)
- func TagMemberAccountv1(c *gin.Context)
- func UnbindMemberAccountv1(c *gin.Context)
- func Update2FA(c *gin.Context)
- func UpdateAppTranslation(c *gin.Context)
- func UpdateDeviceInfo(c *gin.Context)
- func UpdateMemberDeviceLanguagev1(c *gin.Context)
- func UpdateMobile(c *gin.Context)
- func UpdatePKInfov1(c *gin.Context)
- func UpdatePassword(c *gin.Context)
- func UpdateProfile(c *gin.Context)
- func UpdateSecondaryPassword(c *gin.Context)
- func UploadMemberFile(c *gin.Context)
- func Validate2FA(c *gin.Context)
- func ValidateReferralCode(c *gin.Context)
- type ActiveOrderStruct
- type AddBallotForm
- type AddBallotWinnerForm
- type AddCryptoPurchaseStruct
- type AddExchangeForm
- type AddSupportTickeCloseForm
- type AddSupportTickeReplyForm
- type AddSupportTicketForm
- type AddTransferExchangeBatchForm
- type AddTransferExchangeForm
- type AddTransferExchangeFormV2
- type AddTransferForm
- type AddWithdrawForm
- type AddressLoginMemberFrom
- type AdjustOutForm
- type AdminLoginGatewayFrom
- type AdminLoginGatewayTmpPasswordForm
- type AdminLoginMemberFrom
- type BalanceStruc
- type BindEmailForm
- type BindMnemonicv1Form
- type BindMobileForm
- type BindPlacementForm
- type CancelCryptoPurchaseStruct
- type CancelWithdrawForm
- type CheckAppVersForm
- type CheckImportMemberAccountForm
- type CheckSecondaryPasswordForm
- type ConvertForm
- type CreateAccountForm
- type CreateMemberKYCForm
- type CryptoDetailSetupStruct
- type DeactivateMemberAccountForm
- type GetCryptoAddressStruct
- type GetCryptoDetailResponseStruct
- type GetCryptoDetailStruct
- type GetDashboardTypeForm
- type GetFaqListForm
- type GetMemberMiningNodeListForm
- type GetMemberMiningNodeListUpdateForm
- type GetMemberMiningNodeTopupListForm
- type GetMemberPdfForm
- type GetRewardGraphForm
- type GetRewardHistoryForm
- type GetRewardStatementForm
- type GetRewardSummaryForm
- type GetSettingForm
- type GetStrategyRankingForm
- type GetWalletSettingForm
- type LoginMemberForm
- type MemberAccountTransferExchangeBatchSetupForm
- type MemberAnnouncementForm
- type MemberBallotForm
- type MemberDownloadForm
- type MemberNotificationForm
- type MemberPushNotificationListv1Form
- type MemberSalesForm
- type MemberSalesListSummary
- type MemberSalesTopupListForm
- type PlacementSetupForm
- type ProcessRemovePushNotificationForm
- type RegisterForm
- type RequestOTPForm
- type ResetPasswordForm
- type ResetPasswordWithHashedPrivateKeyForm
- type ResetSecondaryPinForm
- type RewardStatements
- type SigningKeyForm
- type SupportTicketListForm
- type SupportTicketListHistoryForm
- type SwitchCurrentActiveMemberAccountForm
- type TagMemberAccountv1Form
- type TransactionStatements
- type TransferExchangeTransactionFee
- type UnbindMemberAccountForm
- type Update2FAForm
- type UpdateDeviceInfoForm
- type UpdateMemberDeviceLanguagev1Form
- type UpdateMobileForm
- type UpdatePKInfov1Form
- type UpdatePasswordForm
- type UpdateProfileForm
- type UpdateSecondaryPasswordForm
- type UploadMemberFileForm
- type Validate2FAForm
- type ValidateReferralCodeStruct
- type WalletTypeStatementStruct
- type WithdrawTransactionFee
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCryptoPurchase ¶
func AddressGenerateMemberAccess ¶
AdminGenerateMemberAccess function
func AdminGenerateMemberAccess ¶
AdminGenerateMemberAccess function
func AdminLoginGatewayTmpPassword ¶
AdminLoginGateway function
func CancelCryptoPurchase ¶
func CancelWithdraw ¶
func CheckImportMemberAccountv1 ¶
func CheckImportMemberAccountv1
func CheckSecondaryPasswordv1 ¶
CheckSecondaryPasswordv1 function
func DeactivateMemberAccountv1 ¶
func DeactivateMemberAccountv1
func GetAppTranslation ¶
get app frontend translation function
func GetBallotSetting ¶
func GetCryptoAddress ¶
func GetCryptoDetail ¶
func GetCryptoPrice ¶
func GetDashboard ¶
func GetDashboardBanner ¶
func GetExchangeSetting ¶
func GetMemberAccountListv1 ¶
func GetMemberAccountListv1
func GetMemberAccountTransferExchangeBatchAssetsv1 ¶
func GetMemberAccountTransferExchangeBatchAssetsv1
func GetMemberAnnouncementListv1 ¶
func GetMemberAnnouncementPopUpListv1 function
func GetMemberBalanceListv1 ¶
func GetMemberBallotList ¶
func GetMemberBlockChainExplorerListv1 ¶
func GetMemberBlockChainExplorerListv1 function
func GetMemberDownloadListv1 ¶
func GetMemberDownloadListv1 function
func GetMemberEventListv1 ¶
func GetMemberNotificationPopUpListv1 function
func GetMemberMiningNodeListUpdateV1 ¶
func GetMemberMiningNodeListUpdateV1 function
func GetMemberMiningNodeListV1 ¶
func GetMemberMiningNodeListV1 function
func GetMemberMiningNodeTopupListV1 ¶
func GetMemberMiningNodeTopupListV1 function
func GetMemberNotificationListv1 ¶
func GetMemberNotificationPopUpListv1 function
func GetMemberPoolListv1 ¶
func GetMemberAnnouncementPopUpListv1 function
func GetMemberPushNotificationListv1 ¶
func GetMemberPushNotificationListv1 function
func GetMemberSalesListSummary ¶
func GetMemberSalesListSummary function
func GetMemberSalesListv1 ¶
func GetMemberSalesListv1 function
func GetMemberSalesTopupListv1 ¶
func GetMemberSalesTopupListv1 function
func GetMemberSettingStatus ¶
GetMemberSettingStatus function
func GetPendingTransferOut ¶
func GetPreloginDocumentList ¶
GetPreloginDocumentList function
func GetRewardGraph ¶
func GetRewardHistory ¶
func GetRewardStatement ¶
func GetRewardSummary ¶
func GetStrategyRanking ¶
func GetTransferDetail ¶
func GetTransferSetting ¶
func GetTransferStatement ¶
func GetWalletSigningKey ¶
func GetWalletStatement ¶
func GetWalletSummaryDetails ¶
func GetWalletTransactionv1 ¶
func GetWithdrawDetail ¶
func GetWithdrawSetting ¶
func GetWithdrawStatement ¶
func PlacementSetup ¶
func PostBallot ¶
func PostBallotWinner ¶
func PostExchange ¶
func PostSupportTicket ¶
func PostSupportTicketClose ¶
func PostSupportTicketReply ¶
func PostTransferExchangeBatch ¶
post Transfer Exchange func
func PostTransferExchangeV2 ¶
post Transfer Exchange func
func PostWithdraw ¶
func ProcessRemoveMemberPushNotificationv1 ¶
func ProcessRemoveMemberPushNotificationv1 function
func RequestOTP ¶
RequestOTP function for verification without access token
func ResetPasswordWithHashedPrivateKey ¶
ResetPasswordWithHashedPrivateKey reset password
func SwitchCurrentActiveMemberAccountv1 ¶
func SwitchCurrentActiveMemberAccountv1
func UpdateAppTranslation ¶
func UpdateDeviceInfo ¶
UpdateDeviceInfo func Perform save device bind log and update member device info
func UpdateMemberDeviceLanguagev1 ¶
func update current device language
func UpdateSecondaryPassword ¶
UpdateSecondaryPassword function
Types ¶
type ActiveOrderStruct ¶
type AddBallotForm ¶
type AddBallotWinnerForm ¶
type AddBallotWinnerForm struct {
Address string `form:"address" json:"address"`
}
type AddCryptoPurchaseStruct ¶
type AddExchangeForm ¶
type AddExchangeForm struct { Amount float64 `form:"amount" json:"amount" valid:"Required;"` EwalletTypeCode string `form:"ewallet_type_code" json:"ewallet_type_code" valid:"Required;"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` EwalletTypeCodeTo string `form:"ewallet_type_code_to" json:"ewallet_type_code_to" valid:"Required;"` }
type AddSupportTickeCloseForm ¶
type AddSupportTickeCloseForm struct {
TicketCode string `form:"ticket_code" json:"ticket_code" valid:"Required;"`
}
type AddSupportTicketForm ¶
type AddTransferExchangeBatchForm ¶
type AddTransferExchangeBatchForm struct {
TransactionData string `form:"transaction_data" json:"transaction_data" valid:"Required;"`
}
AddTransferExchangeBatchForm struct
type AddTransferExchangeForm ¶
type AddTransferExchangeForm struct { SigningKey string `form:"signing_key" json:"signing_key"` Amount float64 `form:"amount" json:"amount" valid:"Required;"` EwalletType string `form:"ewallet_type" json:"ewallet_type" valid:"Required;"` To string `form:"to" json:"to" valid:"Required;"` Remark string `form:"remark" json:"remark"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
AddTransferExchangeForm struct
type AddTransferExchangeFormV2 ¶
type AddTransferExchangeFormV2 struct { Amount float64 `form:"amount" json:"amount" valid:"Required;"` EwalletType string `form:"ewallet_type" json:"ewallet_type" valid:"Required;"` AddrTo string `form:"address_to" json:"address_to" valid:"Required;"` Remark string `form:"remark" json:"remark"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
AddTransferExchangeFormV2 struct
type AddTransferForm ¶
type AddTransferForm struct { Amount float64 `form:"amount" json:"amount" valid:"Required;"` EwalletTypeCode string `form:"ewallet_type_code" json:"ewallet_type_code" valid:"Required;"` EwalletTypeCodeTo string `form:"ewallet_type_code_to" json:"ewallet_type_code_to" valid:"Required;"` To string `form:"to" json:"to" valid:"Required;"` Remark string `form:"remark" json:"remark"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
AddTransferForm struct
type AddWithdrawForm ¶
type AddWithdrawForm struct { Amount float64 `form:"amount" json:"amount" valid:"Required;"` EwalletTypeCode string `form:"ewallet_type_code" json:"ewallet_type_code" valid:"Required;"` Address string `form:"address" json:"address" valid:"Required;"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` Remark string `form:"remark" json:"remark"` ChargesType string `form:"charges_type" json:"charges_type"` EwalletTypeCodeTo string `form:"ewallet_type_code_to" json:"ewallet_type_code_to" valid:"Required;"` VerificationCode string `form:"verification_code" json:"verification_code" valid:"Required;"` }
AddWithdrawForm struct
type AddressLoginMemberFrom ¶
type AdjustOutForm ¶
type AdjustOutForm struct { TransactionData string `form:"transaction_data" json:"transaction_data"` TransactionType string `form:"transaction_type" json:"transaction_type"` TokenType string `form:"token_type" json:"token_type"` TransactionIds string `form:"transaction_ids" json:"transaction_ids"` }
type AdminLoginGatewayFrom ¶
type AdminLoginGatewayFrom struct {
Token string `form:"token" json:"token" valid:"Required"`
}
AdminLoginGatewayFrom struct
type AdminLoginGatewayTmpPasswordForm ¶
type AdminLoginGatewayTmpPasswordForm struct { Username string `form:"username" json:"username" valid:"Required"` Password string `form:"password" json:"password" valid:"Required"` LangCode string `form:"lang_code" json:"lang_code"` }
AdminLoginGatewayTmpPasswordForm struct
type AdminLoginMemberFrom ¶
type AdminLoginMemberFrom struct { Username string `form:"username" json:"username" valid:"Required;MaxSize(100)"` LangCode string `form:"lang_code" json:"lang_code" valid:"Required;MinSize(2)"` }
AdminLoginMemberFrom struct
type BalanceStruc ¶
type BalanceStruc struct { WalletBalance interface{} `json:"wallet_balance"` Achievement interface{} `json:"achievement"` }
Balance Struc
type BindEmailForm ¶
type BindEmailForm struct { Email string `form:"email" json:"email"` VerificationCode string `form:"verification_code" json:"verification_code" valid:"Required;MinSize(6);MaxSize(6)"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required"` }
BindEmailForm struct
type BindMnemonicv1Form ¶
type BindMnemonicv1Form struct { Username string `form:"username" json:"username" valid:"Required;MinSize(4);MaxSize(19)"` PrivateKey string `form:"private_key" json:"private_key" valid:"Required"` CryptoAddr string `form:"crypto_addr" json:"crypto_addr" valid:"Required"` PK string `form:"pk" json:"pk"` Mn string `form:"mn" json:"mn"` }
BindMnemonicv1Form struct
type BindMobileForm ¶
type BindMobileForm struct { MobilePrefix string `form:"mobile_prefix" json:"mobile_prefix" valid:"Required;"` MobileNo string `form:"mobile_no" json:"mobile_no" valid:"Required;"` }
BindMobileForm struct
type BindPlacementForm ¶
type BindPlacementForm struct { PlacementCode string `form:"placement_code" json:"placement_code" valid:"Required"` PlacementGroup string `form:"placement_group" json:"placement_group" valid:"Required"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required"` }
BindPlacementForm struct
type CancelCryptoPurchaseStruct ¶
type CancelCryptoPurchaseStruct struct {
CryptoCode string `json:"crypto_code" form:"crypto_code"`
}
type CancelWithdrawForm ¶
type CancelWithdrawForm struct { DocNo string `form:"doc_no" json:"doc_no" valid:"Required;"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
CancelWithdrawForm struct
type CheckAppVersForm ¶
type CheckImportMemberAccountForm ¶
type CheckImportMemberAccountForm struct { PrivateKey string `form:"private_key" json:"private_key" valid:"Required;"` Username string `form:"username" json:"username" valid:"Required;"` }
CheckImportMemberAccountForm struct
type CheckSecondaryPasswordForm ¶
type CheckSecondaryPasswordForm struct {
SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required"`
}
CheckSecondaryPasswordForm struct
type ConvertForm ¶
type ConvertForm struct { ConvertFrom string `json:"convert_from" valid:"Required;"` ConvertTo string `json:"convert_to" valid:"Required;"` Amount string `json:"amount" valid:"Required;"` }
ConvertForm struct
type CreateAccountForm ¶
type CreateAccountForm struct { Username string `form:"username" json:"username" valid:"Required;MinSize(4);MaxSize(19)"` ReferralCode string `form:"referral_code" json:"referral_code"` }
CreateAccountForm struct
type CreateMemberKYCForm ¶
type CreateMemberKYCForm struct { Name string `form:"name" json:"name" valid:"Required;MaxSize(200)"` IC string `form:"ic" json:"ic" valid:"Required;MaxSize(30);"` WalletAddress string `form:"wallet_address" json:"wallet_address" valid:"Required"` Email string `form:"email" json:"email" valid:"Required"` CountryCode string `form:"country_code" json:"country_code" valid:"Required"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
CreateMemberKYCForm struct
type CryptoDetailSetupStruct ¶
type DeactivateMemberAccountForm ¶
type DeactivateMemberAccountForm struct { Username string `form:"username" json:"username"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
DeactivateMemberAccountForm struct
type GetCryptoAddressStruct ¶
type GetCryptoAddressStruct struct {
WalletType string `json:"wallet_type"`
}
Crypto Deposit
type GetCryptoDetailResponseStruct ¶
type GetCryptoDetailResponseStruct struct { Rate float64 `json:"rate"` Setup CryptoDetailSetupStruct `json:"setup"` ActiveOrder *ActiveOrderStruct `json:"active_order"` Lock int `json:"lock"` }
type GetCryptoDetailStruct ¶
type GetDashboardTypeForm ¶
type GetDashboardTypeForm struct {
Type string `form:"type" json:"type"`
}
type GetFaqListForm ¶
type GetFaqListForm struct {
Page int64 `form:"page" json:"page"`
}
GetFaqListForm struct
type GetMemberMiningNodeListForm ¶
type GetMemberMiningNodeListForm struct {
Page int64 `form:"page" json:"page"`
}
GetMemberMiningNodeListForm struct
type GetMemberMiningNodeListUpdateForm ¶
type GetMemberMiningNodeListUpdateForm struct {
NodeID int `form:"node_id" json:"node_id" valid:"Required;"`
}
GetMemberMiningNodeListUpdateForm struct
type GetMemberMiningNodeTopupListForm ¶
type GetMemberMiningNodeTopupListForm struct { NodeID int `form:"node_id" json:"node_id" valid:"Required;"` Page int64 `form:"page" json:"page"` }
GetMemberMiningNodeTopupListForm struct
type GetMemberPdfForm ¶
type GetMemberPdfForm struct {
DocType string `form:"doc_type" json:"doc_type" valid:"Required;"` // PACKAGE_A, PACKAGE_B
}
GetMemberPdfForm struct
type GetRewardGraphForm ¶
type GetRewardHistoryForm ¶
type GetRewardHistoryForm struct { Page int64 `form:"page" json:"page"` DateFrom string `form:"date_from" json:"date_from" valid:"MaxSize(100)"` DateTo string `form:"date_to" json:"date_to" valid:"MaxSize(100)"` }
Get reward history
type GetRewardStatementForm ¶
type GetRewardStatementForm struct { Page int64 `form:"page" json:"page"` DateFrom string `form:"date_from" json:"date_from" valid:"MaxSize(100)"` DateTo string `form:"date_to" json:"date_to" valid:"MaxSize(100)"` RwdType string `form:"reward_type_code" valid:"Required"` }
Get reward statement
type GetRewardSummaryForm ¶
type GetRewardSummaryForm struct { Page int64 `form:"page" json:"page"` DateFrom string `form:"date_from" json:"date_from" valid:"MaxSize(100)"` DateTo string `form:"date_to" json:"date_to" valid:"MaxSize(100)"` RwdType string `form:"reward_type_code"` }
Get reward summary
type GetSettingForm ¶
type GetSettingForm struct {
WalletType string `json:"wallet_type" valid:"MaxSize(25)"`
}
Get Setting struct
type GetStrategyRankingForm ¶
type GetWalletSettingForm ¶
type GetWalletSettingForm struct {
EwalletTypeCode string `form:"ewallet_type_code" json:"ewallet_type_code" valid:"Required;"`
}
type LoginMemberForm ¶
type LoginMemberForm struct { LoginType string `form:"login_type" json:"login_type" valid:"Required"` Password string `form:"password" json:"password" valid:"Required"` LangCode string `form:"lang_code" json:"lang_code"` Email string `form:"email" json:"email"` MobilePrefix string `form:"mobile_prefix" json:"mobile_prefix"` MobileNo string `form:"mobile_no" json:"mobile_no"` Username string `form:"username" json:"username"` }
LoginMemberForm struct
type MemberAccountTransferExchangeBatchSetupForm ¶
type MemberAccountTransferExchangeBatchSetupForm struct { EwalletType string `form:"ewallet_type" json:"ewallet_type" valid:"Required;"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
AddTransferExchangeForm struct
type MemberAnnouncementForm ¶
type MemberAnnouncementForm struct { Popup string `form:"popup" json:"popup"` CategoryCode string `form:"category_code" json:"category_code"` Page int64 `form:"page" json:"page"` ViewType string `form:"view_type" json:"view_type"` Type string `form:"type" json:"type"` }
MemberAnnouncementForm struct
type MemberBallotForm ¶
type MemberBallotForm struct {
Page int64 `form:"page" json:"page"`
}
type MemberDownloadForm ¶
type MemberDownloadForm struct { CategoryCode string `form:"category_code" json:"category_code"` Type string `form:"type" json:"type"` }
MemberDownloadForm struct
type MemberNotificationForm ¶
type MemberNotificationForm struct { Popup int `form:"pop_up" json:"pop_up"` Scenario string `form:"scenario" json:"scenario"` }
RegisterByMobileForm struct
type MemberPushNotificationListv1Form ¶
type MemberPushNotificationListv1Form struct { Page int64 `form:"page" json:"page"` ViewType string `form:"view_type" json:"view_type"` }
MemberPushNotificationListForm struct
type MemberSalesForm ¶
type MemberSalesForm struct { DocType string `form:"doc_type" json:"doc_type"` PrdCode string `form:"prd_code" json:"prd_code"` Page int64 `form:"page" json:"page"` DateFrom string `form:"date_from" json:"date_from"` DateTo string `form:"date_to" json:"date_to"` }
MemberSalesForm struct
type MemberSalesListSummary ¶
type MemberSalesListSummary struct {
DocType string `form:"doc_type" json:"doc_type"`
}
MemberSalesListSummary struct
type MemberSalesTopupListForm ¶
type MemberSalesTopupListForm struct { DocNo string `form:"doc_no" json:"doc_no" valid:"Required;"` DateFrom string `form:"date_from" json:"date_from"` DateTo string `form:"date_to" json:"date_to"` Page int64 `form:"page" json:"page"` }
MemberSalesTopupListForm struct
type PlacementSetupForm ¶
type PlacementSetupForm struct {
PlacementCode string `form:"placement_code" json:"placement_code" valid:"Required;"`
}
type ProcessRemovePushNotificationForm ¶
type ProcessRemovePushNotificationForm struct {
PNIDList []int `form:"pn_id_list" json:"pn_id_list" valid:"Required;"`
}
type RegisterForm ¶
type RegisterForm struct { Username string `form:"username" json:"username" valid:"Required;MinSize(4);MaxSize(19)"` FirstName string `form:"first_name" json:"first_name"` Email string `form:"email" json:"email" valid:"Required"` MobilePrefix string `form:"mobile_prefix" json:"mobile_prefix"` MobileNo string `form:"mobile_no" json:"mobile_no"` CountryCode string `form:"country_code" json:"country_code" valid:"Required"` VerificationCode string `form:"verification_code" json:"verification_code" valid:"Required;MinSize(6);MaxSize(6)"` Password string `form:"password" json:"password" valid:"Required"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required"` ReferralCode string `form:"referral_code" json:"referral_code" valid:"Required"` }
RegisterForm struct
type RequestOTPForm ¶
type RequestOTPForm struct { Email string `form:"email" json:"email"` MobilePrefix string `form:"mobile_prefix" json:"mobile_prefix"` MobileNo string `form:"mobile_no" json:"mobile_no"` OtpType string `form:"otp_type" json:"otp_type" valid:"Required;MaxSize(50)"` }
RequestOTPForm struct
type ResetPasswordForm ¶
type ResetPasswordForm struct { Email string `form:"email" json:"email"` MobilePrefix string `form:"mobile_prefix" json:"mobile_prefix"` MobileNo string `form:"mobile_no" json:"mobile_no"` VerificationCode string `form:"verification_code" json:"verification_code" valid:"Required;MaxSize(20)"` Password string `form:"password" json:"password" valid:"Required"` }
ResetPasswordForm struct
type ResetPasswordWithHashedPrivateKeyForm ¶
type ResetPasswordWithHashedPrivateKeyForm struct { PrivateKey string `form:"private_key" json:"private_key" valid:"Required;"` Password string `form:"password" json:"password" valid:"Required"` }
ResetPasswordWithHashedPrivateKeyForm struct
type ResetSecondaryPinForm ¶
type ResetSecondaryPinForm struct { Email string `form:"email" json:"email"` MobilePrefix string `form:"mobile_prefix" json:"mobile_prefix"` MobileNo string `form:"mobile_no" json:"mobile_no"` VerificationCode string `form:"verification_code" json:"verification_code" valid:"Required;MaxSize(20)"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required"` }
ResetSecondaryPinForm struct
type RewardStatements ¶
type RewardStatements struct { RewardType string `form:"reward_type" json:"reward_type" valid:"Required;MaxSize(100)"` BnsId string `form:"bns_id" json:"bns_id" valid:"Required;MaxSize(100)"` Limit string `form:"limit" json:"limit" valid:"Required;"` Page string `form:"page" json:"page" valid:"Required;"` }
get Reward Statements
type SigningKeyForm ¶
type SupportTicketListForm ¶
type SupportTicketListForm struct {
Page int64 `form:"page" json:"page"`
}
type SwitchCurrentActiveMemberAccountForm ¶
type SwitchCurrentActiveMemberAccountForm struct {
Username string `form:"username" json:"username"`
}
SwitchCurrentActiveMemberAccountForm struct
type TagMemberAccountv1Form ¶
type TagMemberAccountv1Form struct { Username string `form:"username" json:"username" valid:"Required;"` TaggedUsername string `form:"tagged_username" json:"tagged_username"` }
TagMemberAccountv1Form struct
type TransactionStatements ¶
type TransactionStatements struct { Page int64 `form:"page" json:"page"` DateFrom string `form:"date_from" json:"date_from" valid:"MaxSize(100)"` DateTo string `form:"date_to" json:"date_to" valid:"MaxSize(100)"` WalletTypeCode string `form:"wallet_type_code" json:"wallet_type_code"` }
Get transaction statement
type TransferExchangeTransactionFee ¶
type TransferExchangeTransactionFee struct { EwalletTypeCode string `form:"ewallet_type_code" json:"ewallet_type_code" valid:"Required;"` FromAddress string `form:"from_address" json:"from_address" valid:"Required;"` ToAddress string `form:"to_address" json:"to_address" valid:"Required;"` Amount string `form:"amount" json:"amount" valid:"Required;"` }
Get transfer exchange transaction fee
type UnbindMemberAccountForm ¶
type UnbindMemberAccountForm struct { Username string `form:"username" json:"username" valid:"Required;"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
UnbindMemberAccountForm struct
type Update2FAForm ¶
type Update2FAForm struct { Mode string `form:"mode" json:"mode" valid:"Required"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required"` }
Update2FAForm struct
type UpdateDeviceInfoForm ¶
type UpdateDeviceInfoForm struct { AppVersion string `form:"app_version" json:"app_version"` Manufacturer string `form:"manufacturer" json:"manufacturer"` Model string `form:"model" json:"model"` OS string `form:"os" json:"os"` OSVersion string `form:"os_version" json:"os_version"` PushNotification string `form:"push_notification" json:"push_notification"` }
UpdateDeviceInfoForm struct
type UpdateMemberDeviceLanguagev1Form ¶
type UpdateMemberDeviceLanguagev1Form struct { PushNotification string `form:"push_notification" json:"push_notification" valid:"Required;"` LangCode string `form:"lang_code" json:"lang_code" valid:"Required;"` }
UpdateMemberDeviceLanguagev1Form struct
type UpdateMobileForm ¶
type UpdateMobileForm struct { MobilePrefix string `form:"mobile_prefix" json:"mobile_prefix" valid:"Required;MaxSize(5)"` MobileNo string `form:"mobile_no" json:"mobile_no" valid:"Required;MinSize(8);MaxSize(15)"` }
UpdateMobileForm struct
type UpdatePKInfov1Form ¶
type UpdatePKInfov1Form struct { PK string `form:"pk" json:"pk" valid:"Required"` Mn string `form:"mn" json:"mn"` }
UpdatePKInfov1Form struct
type UpdatePasswordForm ¶
type UpdatePasswordForm struct { CurrentPassword string `form:"current_password" json:"current_password" valid:"Required;"` Password string `form:"password" json:"password" valid:"Required;"` }
UpdatePasswordForm struct
type UpdateProfileForm ¶
type UpdateProfileForm struct { FirstName string `form:"first_name" json:"first_name"` CountryCode string `form:"country_code" json:"country_code"` GenderCode string `form:"gender_code" json:"gender_code"` BirthDate string `form:"birth_date" json:"birth_date"` }
UpdateProfileForm struct
type UpdateSecondaryPasswordForm ¶
type UpdateSecondaryPasswordForm struct { CurrentSecondaryPin string `form:"current_secondary_pin" json:"current_secondary_pin" valid:"Required;"` SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"` }
UpdateSecondaryPasswordForm struct
type UploadMemberFileForm ¶
type UploadMemberFileForm struct { Event string `form:"event" json:"event" valid:"Required;MaxSize(20)"` TicketCode string `form:"ticket_code" json:"ticket_code"` }
UploadMemberFileForm struct
type Validate2FAForm ¶
type Validate2FAForm struct {
Passcode string `form:"passcode" json:"passcode" valid:"Required;MaxSize(6)"`
}
Validate2FAForm struct
type ValidateReferralCodeStruct ¶
type ValidateReferralCodeStruct struct {
ReferralCode string `form:"referral_code" json:"referral_code" valid:"Required;MaxSize(50)"`
}
ValidateReferralCodeStruct struct
type WalletTypeStatementStruct ¶
type WalletTypeStatementStruct struct { Page int64 `form:"page" json:"page"` DateFrom string `form:"date_from" json:"date_from" valid:"MaxSize(100)"` DateTo string `form:"date_to" json:"date_to" valid:"MaxSize(100)"` WalletTypeCode string `form:"wallet_type_code" json:"wallet_type_code"` TransType string `form:"trans_type" json:"trans_type"` RewardTypeCode string `form:"reward_type_code" json:"reward_type_code"` }
type WithdrawTransactionFee ¶
type WithdrawTransactionFee struct { Address string `form:"address" json:"address" valid:"Required;"` Amount string `form:"amount" json:"amount" valid:"Required;"` EwalletTypeCode string `form:"ewallet_type_code" json:"ewallet_type_code" valid:"Required;"` }
Get withdraw transaction fee