Documentation ¶
Overview ¶
Package server Vulcan
The Vulcan is an users' wallets creator.
Schemes: https Version: 1.0.0 Produces: - application/json Consumes: - application/json
swagger:meta
Index ¶
- func SetupRouter(s service.Service, sup supply.Supply, r chi.Router, timeout time.Duration, ...)
- type ConfirmRequest
- type DLoan
- type DLoanRequest
- type EmptyResponse
- type ReferralCodeResponse
- type ReferralTrackingStatsItem
- type ReferralTrackingStatsResponse
- type RegisterRequest
- type RegisterStats
- type StatsItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfirmRequest ¶
ConfirmRequest ... swagger:model
type DLoan ¶ added in v1.5.2
type DLoan struct { ID int `json:"id"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Address string `json:"walletAddress"` PDV float64 `json:"pdvRate"` CreatedAt string `json:"createdAt"` }
DLoan ... swagger:model
type DLoanRequest ¶ added in v1.5.0
type DLoanRequest struct { FirstName string `json:"firstName"` LastName string `json:"lastName"` Address string `json:"walletAddress"` PDV float64 `json:"pdvRate"` }
DLoanRequest ... swagger:model
type ReferralCodeResponse ¶ added in v1.1.0
type ReferralCodeResponse struct {
Code string `json:"code"`
}
ReferralCodeResponse ... swagger:model
type ReferralTrackingStatsItem ¶ added in v1.1.0
type ReferralTrackingStatsItem struct { Registered int `json:"registered"` Installed int `json:"installed"` Confirmed int `json:"confirmed"` Reward sdk.Coin `json:"reward"` }
ReferralTrackingStatsItem ... swagger:model
type ReferralTrackingStatsResponse ¶ added in v1.1.0
type ReferralTrackingStatsResponse struct { Total ReferralTrackingStatsItem `json:"total"` Last30Days ReferralTrackingStatsItem `json:"last30Days"` }
ReferralTrackingStatsResponse ... swagger:model
type RegisterRequest ¶
type RegisterRequest struct { // required: true Email strfmt.Email `json:"email"` Address string `json:"address"` ReferralCode *string `json:"referralCode"` RecaptchaResponse string `json:"recaptchaResponse"` }
RegisterRequest ... swagger:model
type RegisterStats ¶ added in v1.1.0
RegisterStats ... swagger:model
Click to show internal directories.
Click to hide internal directories.