Documentation ¶
Index ¶
- func AcceptRedeem(w http.ResponseWriter, r *http.Request) error
- func CheckLogin(w http.ResponseWriter, r *http.Request) error
- func GenerateOtp(w http.ResponseWriter, r *http.Request) error
- func GetCoinBalance(w http.ResponseWriter, r *http.Request) error
- func GetNameByRollNo(w http.ResponseWriter, r *http.Request) error
- func Index(w http.ResponseWriter, req *http.Request)
- func InvalidateRefreshTokens(w http.ResponseWriter, r *http.Request) error
- func Login(w http.ResponseWriter, r *http.Request) error
- func Logout(w http.ResponseWriter, r *http.Request) error
- func NewRedeem(w http.ResponseWriter, r *http.Request) error
- func RedeemListByRollNo(w http.ResponseWriter, r *http.Request) error
- func RefreshToken(w http.ResponseWriter, r *http.Request) error
- func RejectRedeem(w http.ResponseWriter, r *http.Request) error
- func ResetPassword(w http.ResponseWriter, r *http.Request) error
- func RewardCoins(w http.ResponseWriter, r *http.Request) error
- func Signup(w http.ResponseWriter, r *http.Request) error
- func TransferCoins(w http.ResponseWriter, r *http.Request) error
- func TransferTax(w http.ResponseWriter, r *http.Request) error
- func WalletHistory(w http.ResponseWriter, r *http.Request) error
- type CheckLoginResponse
- type GetCoinBalanceResponse
- type GetNameResponse
- type LoginRequest
- type LoginResponse
- type NewRedeemRequest
- type NewRedeemResponse
- type OtpRequest
- type RedeemListResponse
- type ResetPasswordRequest
- type RewardRequest
- type RewardResponse
- type SignupRequest
- type TransferCoinRequest
- type TransferCoinResponse
- type TransferTaxRequest
- type TransferTaxResponse
- type UpdateRedeemRequest
- type WalletHistoryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptRedeem ¶
func AcceptRedeem(w http.ResponseWriter, r *http.Request) error
func CheckLogin ¶
func CheckLogin(w http.ResponseWriter, r *http.Request) error
func GenerateOtp ¶
func GenerateOtp(w http.ResponseWriter, r *http.Request) error
func GetCoinBalance ¶
func GetCoinBalance(w http.ResponseWriter, r *http.Request) error
func GetNameByRollNo ¶
func GetNameByRollNo(w http.ResponseWriter, r *http.Request) error
func InvalidateRefreshTokens ¶
func InvalidateRefreshTokens(w http.ResponseWriter, r *http.Request) error
func RedeemListByRollNo ¶
func RedeemListByRollNo(w http.ResponseWriter, r *http.Request) error
func RefreshToken ¶
func RefreshToken(w http.ResponseWriter, r *http.Request) error
func RejectRedeem ¶
func RejectRedeem(w http.ResponseWriter, r *http.Request) error
func ResetPassword ¶
func ResetPassword(w http.ResponseWriter, r *http.Request) error
func RewardCoins ¶
func RewardCoins(w http.ResponseWriter, r *http.Request) error
func TransferCoins ¶
func TransferCoins(w http.ResponseWriter, r *http.Request) error
func TransferTax ¶
func TransferTax(w http.ResponseWriter, r *http.Request) error
func WalletHistory ¶
func WalletHistory(w http.ResponseWriter, r *http.Request) error
Types ¶
type CheckLoginResponse ¶
type GetCoinBalanceResponse ¶
type GetNameResponse ¶
type LoginRequest ¶
type LoginResponse ¶
type NewRedeemRequest ¶
type NewRedeemResponse ¶
type NewRedeemResponse struct {
TxnId string `json:"id"`
}
type OtpRequest ¶
type OtpRequest struct {
RollNo string `json:"rollNo"`
}
type RedeemListResponse ¶
type RedeemListResponse struct {
RedeemList []account.RedeemRequest `json:"redeemList"`
}
type ResetPasswordRequest ¶
type RewardRequest ¶
type RewardResponse ¶
type RewardResponse struct {
TxnId string `json:"id"`
}
type SignupRequest ¶
type TransferCoinRequest ¶
type TransferCoinResponse ¶
type TransferCoinResponse struct {
TxnID string `json:"id"`
}
type TransferTaxRequest ¶
type TransferTaxResponse ¶
type UpdateRedeemRequest ¶
type UpdateRedeemRequest struct {
RedeemId int `json:"redeemId"`
}
type WalletHistoryResponse ¶
type WalletHistoryResponse struct { History []interface{} `json:"history"` RollNo string `json:"rollNo"` }
Click to show internal directories.
Click to hide internal directories.