member

package
v0.0.0-...-d7ff5e6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCryptoPurchase

func AddCryptoPurchase(c *gin.Context)

func AddTranslation

func AddTranslation(c *gin.Context)

Add Frontend Translation func

func AddressGenerateMemberAccess

func AddressGenerateMemberAccess(c *gin.Context)

AdminGenerateMemberAccess function

func AdjustOut

func AdjustOut(c *gin.Context)

func AdminGenerateMemberAccess

func AdminGenerateMemberAccess(c *gin.Context)

AdminGenerateMemberAccess function

func AdminLoginGateway

func AdminLoginGateway(c *gin.Context)

AdminLoginGateway function

func AdminLoginGatewayTmpPassword

func AdminLoginGatewayTmpPassword(c *gin.Context)

AdminLoginGateway function

func BindEmail

func BindEmail(c *gin.Context)

BindEmail func

func BindMnemonicv1

func BindMnemonicv1(c *gin.Context)

func BindMnemonicv1

func BindMobile

func BindMobile(c *gin.Context)

BindMobile func

func BindPlacement

func BindPlacement(c *gin.Context)

BindPlacement func

func CancelCryptoPurchase

func CancelCryptoPurchase(c *gin.Context)

func CancelWithdraw

func CancelWithdraw(c *gin.Context)

func CheckAppVersv1

func CheckAppVersv1(c *gin.Context)

CheckAppVersv1 function

func CheckImportMemberAccountv1

func CheckImportMemberAccountv1(c *gin.Context)

func CheckImportMemberAccountv1

func CheckSecondaryPasswordv1

func CheckSecondaryPasswordv1(c *gin.Context)

CheckSecondaryPasswordv1 function

func CountryList

func CountryList(c *gin.Context)

get country list func

func CreateAccount

func CreateAccount(c *gin.Context)

CreateAccount func

func CreateAccountv2

func CreateAccountv2(c *gin.Context)

CreateAccountv2 func

func CreateMemberKYCv1

func CreateMemberKYCv1(c *gin.Context)

CreateMemberKYCv1 function

func DeactivateMemberAccountv1

func DeactivateMemberAccountv1(c *gin.Context)

func DeactivateMemberAccountv1

func GetAboutUsDetails

func GetAboutUsDetails(c *gin.Context)

GetAboutUsDetails func

func GetAppTranslation

func GetAppTranslation(c *gin.Context)

get app frontend translation function

func GetAppVersListv1

func GetAppVersListv1(c *gin.Context)

GetAppVersListv1 function

func GetBallotSetting

func GetBallotSetting(c *gin.Context)

func GetCryptoAddress

func GetCryptoAddress(c *gin.Context)

func GetCryptoDetail

func GetCryptoDetail(c *gin.Context)

func GetCryptoPrice

func GetCryptoPrice(c *gin.Context)

func GetCurrentServerTime

func GetCurrentServerTime(c *gin.Context)

GetCurrentServerTime func

func GetDashboard

func GetDashboard(c *gin.Context)

func GetDashboardBanner

func GetDashboardBanner(c *gin.Context)

func GetExchangeSetting

func GetExchangeSetting(c *gin.Context)

func GetFaqList

func GetFaqList(c *gin.Context)

GetFaqList func

func GetMemberAccountListv1

func GetMemberAccountListv1(c *gin.Context)

func GetMemberAccountListv1

func GetMemberAccountTransferExchangeBatchAssetsv1

func GetMemberAccountTransferExchangeBatchAssetsv1(c *gin.Context)

func GetMemberAccountTransferExchangeBatchAssetsv1

func GetMemberAccountTransferExchangeBatchSetupv1

func GetMemberAccountTransferExchangeBatchSetupv1(c *gin.Context)

func GetMemberAnnouncementListv1

func GetMemberAnnouncementListv1(c *gin.Context)

func GetMemberAnnouncementPopUpListv1 function

func GetMemberBalanceListv1

func GetMemberBalanceListv1(c *gin.Context)

func GetMemberBallotList

func GetMemberBallotList(c *gin.Context)

func GetMemberBlockChainExplorerListv1

func GetMemberBlockChainExplorerListv1(c *gin.Context)

func GetMemberBlockChainExplorerListv1 function

func GetMemberDownloadListv1

func GetMemberDownloadListv1(c *gin.Context)

func GetMemberDownloadListv1 function

func GetMemberEventListv1

func GetMemberEventListv1(c *gin.Context)

func GetMemberNotificationPopUpListv1 function

func GetMemberKYCv1

func GetMemberKYCv1(c *gin.Context)

GetMemberKYCv1 function

func GetMemberMiningNodeListUpdateV1

func GetMemberMiningNodeListUpdateV1(c *gin.Context)

func GetMemberMiningNodeListUpdateV1 function

func GetMemberMiningNodeListV1

func GetMemberMiningNodeListV1(c *gin.Context)

func GetMemberMiningNodeListV1 function

func GetMemberMiningNodeTopupListV1

func GetMemberMiningNodeTopupListV1(c *gin.Context)

func GetMemberMiningNodeTopupListV1 function

func GetMemberNotificationListv1

func GetMemberNotificationListv1(c *gin.Context)

func GetMemberNotificationPopUpListv1 function

func GetMemberPdf

func GetMemberPdf(c *gin.Context)

func GetMemberPdf function

func GetMemberPoolListv1

func GetMemberPoolListv1(c *gin.Context)

func GetMemberAnnouncementPopUpListv1 function

func GetMemberPushNotificationListv1

func GetMemberPushNotificationListv1(c *gin.Context)

func GetMemberPushNotificationListv1 function

func GetMemberSalesListSummary

func GetMemberSalesListSummary(c *gin.Context)

func GetMemberSalesListSummary function

func GetMemberSalesListv1

func GetMemberSalesListv1(c *gin.Context)

func GetMemberSalesListv1 function

func GetMemberSalesTopupListv1

func GetMemberSalesTopupListv1(c *gin.Context)

func GetMemberSalesTopupListv1 function

func GetMemberSettingStatus

func GetMemberSettingStatus(c *gin.Context)

GetMemberSettingStatus function

func GetMemberStatementListv1

func GetMemberStatementListv1(c *gin.Context)

func GetMemberStatementListv2

func GetMemberStatementListv2(c *gin.Context)

for ui-v2

func GetMemberStrategyBalancev1

func GetMemberStrategyBalancev1(c *gin.Context)

func GetMemberStrategyFuturesBalancev1

func GetMemberStrategyFuturesBalancev1(c *gin.Context)

func GetMemberSupportTicketCategoryList

func GetMemberSupportTicketCategoryList(c *gin.Context)

func GetMemberSupportTicketHistoryList

func GetMemberSupportTicketHistoryList(c *gin.Context)

func GetMemberSupportTicketList

func GetMemberSupportTicketList(c *gin.Context)

func GetMemberTreev1

func GetMemberTreev1(c *gin.Context)

GetMemberTreev1 function

func GetPendingTransferOut

func GetPendingTransferOut(c *gin.Context)

func GetPreloginDocumentList

func GetPreloginDocumentList(c *gin.Context)

GetPreloginDocumentList function

func GetProfile

func GetProfile(c *gin.Context)

GetProfile function

func GetRandUsername

func GetRandUsername(c *gin.Context)

GetRandUsername func

func GetRewardGraph

func GetRewardGraph(c *gin.Context)

func GetRewardHistory

func GetRewardHistory(c *gin.Context)

func GetRewardStatement

func GetRewardStatement(c *gin.Context)

func GetRewardSummary

func GetRewardSummary(c *gin.Context)

func GetStrategyRanking

func GetStrategyRanking(c *gin.Context)

func GetTransferDetail

func GetTransferDetail(c *gin.Context)

func GetTransferExchangeSetting

func GetTransferExchangeSetting(c *gin.Context)

func GetTransferSetting

func GetTransferSetting(c *gin.Context)

func GetTransferStatement

func GetTransferStatement(c *gin.Context)

func GetTranslation

func GetTranslation(c *gin.Context)

get frontend translation function

func GetWalletSigningKey

func GetWalletSigningKey(c *gin.Context)

func GetWalletStatement

func GetWalletStatement(c *gin.Context)

func GetWalletStatementStrategy

func GetWalletStatementStrategy(c *gin.Context)

func GetWalletSummaryDetails

func GetWalletSummaryDetails(c *gin.Context)

func GetWalletTransactionv1

func GetWalletTransactionv1(c *gin.Context)

func GetWithdrawDetail

func GetWithdrawDetail(c *gin.Context)

func GetWithdrawSetting

func GetWithdrawSetting(c *gin.Context)

func GetWithdrawStatement

func GetWithdrawStatement(c *gin.Context)

func GetWithdrawTransactionFee

func GetWithdrawTransactionFee(c *gin.Context)

func LanguageList

func LanguageList(c *gin.Context)

get language list func

func Login

func Login(c *gin.Context)

Login function

func Logout

func Logout(c *gin.Context)

Logout function

func PlacementSetup

func PlacementSetup(c *gin.Context)

func PostBallot

func PostBallot(c *gin.Context)

func PostBallotWinner

func PostBallotWinner(c *gin.Context)

func PostExchange

func PostExchange(c *gin.Context)

func PostSupportTicket

func PostSupportTicket(c *gin.Context)

func PostSupportTicketClose

func PostSupportTicketClose(c *gin.Context)

func PostSupportTicketReply

func PostSupportTicketReply(c *gin.Context)

func PostTransfer

func PostTransfer(c *gin.Context)

post Transfer func

func PostTransferExchange

func PostTransferExchange(c *gin.Context)

post Transfer Exchange func

func PostTransferExchangeBatch

func PostTransferExchangeBatch(c *gin.Context)

post Transfer Exchange func

func PostTransferExchangeV2

func PostTransferExchangeV2(c *gin.Context)

post Transfer Exchange func

func PostWithdraw

func PostWithdraw(c *gin.Context)

func ProcessAppVersv1

func ProcessAppVersv1(c *gin.Context)

ProcessAppVersv1 func

func ProcessRemoveMemberPushNotificationv1

func ProcessRemoveMemberPushNotificationv1(c *gin.Context)

func ProcessRemoveMemberPushNotificationv1 function

func Register

func Register(c *gin.Context)

Register function

func Registerv2

func Registerv2(c *gin.Context)

Registerv2 function

func RequestMnemonicv1

func RequestMnemonicv1(c *gin.Context)

RequestMnemonic function

func RequestOTP

func RequestOTP(c *gin.Context)

RequestOTP function for verification without access token

func ResetPassword

func ResetPassword(c *gin.Context)

ResetPassword reset password

func ResetPasswordWithHashedPrivateKey

func ResetPasswordWithHashedPrivateKey(c *gin.Context)

ResetPasswordWithHashedPrivateKey reset password

func ResetSecondaryPin

func ResetSecondaryPin(c *gin.Context)

ResetSecondaryPin reset password

func SwitchCurrentActiveMemberAccountv1

func SwitchCurrentActiveMemberAccountv1(c *gin.Context)

func SwitchCurrentActiveMemberAccountv1

func TagMemberAccountv1

func TagMemberAccountv1(c *gin.Context)

func TagMemberAccountv1

func UnbindMemberAccountv1

func UnbindMemberAccountv1(c *gin.Context)

func UnbindMemberAccountv1

func Update2FA

func Update2FA(c *gin.Context)

Update2FA func

func UpdateAppTranslation

func UpdateAppTranslation(c *gin.Context)

func UpdateDeviceInfo

func UpdateDeviceInfo(c *gin.Context)

UpdateDeviceInfo func Perform save device bind log and update member device info

func UpdateMemberDeviceLanguagev1

func UpdateMemberDeviceLanguagev1(c *gin.Context)

func update current device language

func UpdateMobile

func UpdateMobile(c *gin.Context)

UpdateMobile function

func UpdatePKInfov1

func UpdatePKInfov1(c *gin.Context)

func UpdatePKInfov1

func UpdatePassword

func UpdatePassword(c *gin.Context)

UpdatePassword function

func UpdateProfile

func UpdateProfile(c *gin.Context)

UpdateProfile function

func UpdateSecondaryPassword

func UpdateSecondaryPassword(c *gin.Context)

UpdateSecondaryPassword function

func UploadMemberFile

func UploadMemberFile(c *gin.Context)

UploadMemberFile function

func Validate2FA

func Validate2FA(c *gin.Context)

Validate2FA function

func ValidateReferralCode

func ValidateReferralCode(c *gin.Context)

ValidateReferralCode func

Types

type ActiveOrderStruct

type ActiveOrderStruct struct {
	Amount          float64 `json:"amount"`
	ConvertedAmount float64 `json:"converted_amount"`
	ExpiryAt        int64   `json:"expiry_at"`
	CryptoAddress   string  `json:"crypto_address"`
}

type AddBallotForm

type AddBallotForm struct {
	Payments     string `form:"payments" json:"payments"`
	SecondaryPin string `form:"secondary_pin" json:"secondary_pin" valid:"Required;"`
}

type AddBallotWinnerForm

type AddBallotWinnerForm struct {
	Address string `form:"address" json:"address"`
}

type AddCryptoPurchaseStruct

type AddCryptoPurchaseStruct struct {
	Amount     float64 `json:"amount" form:"amount"`
	CryptoCode string  `json:"crypto_code" form:"crypto_code"`
}

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 AddSupportTickeReplyForm

type AddSupportTickeReplyForm struct {
	TicketCode string `form:"ticket_code" json:"ticket_code" valid:"Required;"`
	Msg        string `form:"msg" json:"msg" valid:"Required;"`
}

type AddSupportTicketForm

type AddSupportTicketForm struct {
	CategoryCode string `form:"category_code" json:"category_code" valid:"Required;"`
	Title        string `form:"title" json:"title" valid:"Required;"`
	Msg          string `form:"msg" json:"msg" valid:"Required;"`
}

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 AddressLoginMemberFrom struct {
	Address  string `form:"address" json:"address" valid:"Required"`
	LangCode string `form:"lang_code" json:"lang_code" valid:"Required;MinSize(2)"`
}

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 CheckAppVersForm struct {
	Platform   string `form:"platform" json:"platform" valid:"Required;"`
	AppVersion string `form:"app_version" json:"app_version" valid:"Required;"`
}

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 CryptoDetailSetupStruct struct {
	Min          float64 `json:"min"`
	Max          float64 `json:"max"`
	FromCurrency string  `json:"from_currency"`
	ToCurrency   string  `json:"to_currency"`
	DecimalFrom  int     `json:"decimal_from"`
	DecimalTo    int     `json:"decimal_to"`
}

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 GetCryptoDetailStruct struct {
	EwtTypeCode string `json:"ewallet_type_code" form:"ewallet_type_code"`
	CryptoCode  string `json:"crypto_code" form:"crypto_code"`
}

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 GetRewardGraphForm struct {
	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"`
	Type     string `form:"type" valid:"Required"`
}

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 GetStrategyRankingForm struct {
	Type   string `form:"type" json:"type"`
	Market string `form:"market" json:"market"`
}

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 SigningKeyForm struct {
	EwalletTypeCode string `form:"ewallet_type_code" json:"ewallet_type_code" valid:"Required;"`
	Method          string `form:"method" json:"method" valid:"Required;"`
}

type SupportTicketListForm

type SupportTicketListForm struct {
	Page int64 `form:"page" json:"page"`
}

type SupportTicketListHistoryForm

type SupportTicketListHistoryForm struct {
	Page       int64  `form:"page" json:"page"`
	TicketCode string `form:"ticket_code" json:"ticket_code" valid:"Required"`
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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