Documentation ¶
Index ¶
- func NewActivateBalance(r *http.Request) (req resources.ActivateBalanceRequest, err error)
- func NewClaimEvent(r *http.Request) (req resources.Relation, err error)
- func NewCreateAbstractionAccount(r *http.Request) (req resources.CreateAbstractionAccountRequest, err error)
- func NewCreateBalance(r *http.Request) (req resources.CreateBalanceRequest, err error)
- func NewCreateBalanceV2(r *http.Request) (req resources.Relation, err error)
- func NewCreateBonusCode(r *http.Request) (req resources.BonusCodeRequest, err error)
- func NewCreateEventType(r *http.Request) (req resources.EventTypeResponse, err error)
- func NewDailyQuestion(r *http.Request) (req resources.DailyQuestionCreateResponse, err error)
- func NewDailyQuestionAnswer(r *http.Request) (req resources.DailyQuestionAnswersResponse, err error)
- func NewDailyQuestionEdit(r *http.Request) (req resources.DailyQuestionEditResponse, err error)
- func NewFulfillPollEvent(r *http.Request) (req resources.FulfillPollEventRequest, err error)
- func NewFulfillQREvent(r *http.Request) (req resources.FulfillQrEventRequest, err error)
- func NewGetEvent(r *http.Request) (id string, err error)
- func NewGetEventType(r *http.Request) (name string, err error)
- func NewUpdateEventType(r *http.Request) (req resources.EventTypeResponse, err error)
- func NewVerifyExternalPassport(r *http.Request) (req resources.VerifyPassportRequest, err error)
- func NewVerifyInternalPassport(r *http.Request) (req resources.VerifyPassportRequest, err error)
- func NewWithdraw(r *http.Request) (req resources.WithdrawRequest, err error)
- type EditReferralsRequest
- type GetBalance
- type Leaderboard
- type ListEvents
- type ListExpiredEvents
- type QuestionList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActivateBalance ¶ added in v1.1.0
func NewActivateBalance(r *http.Request) (req resources.ActivateBalanceRequest, err error)
func NewCreateAbstractionAccount ¶ added in v1.7.2
func NewCreateAbstractionAccount(r *http.Request) (req resources.CreateAbstractionAccountRequest, err error)
func NewCreateBalance ¶
func NewCreateBalance(r *http.Request) (req resources.CreateBalanceRequest, err error)
func NewCreateBalanceV2 ¶ added in v1.1.0
func NewCreateBonusCode ¶ added in v1.9.0
func NewCreateBonusCode(r *http.Request) (req resources.BonusCodeRequest, err error)
func NewCreateEventType ¶
func NewCreateEventType(r *http.Request) (req resources.EventTypeResponse, err error)
func NewDailyQuestion ¶ added in v1.6.0
func NewDailyQuestion(r *http.Request) (req resources.DailyQuestionCreateResponse, err error)
func NewDailyQuestionAnswer ¶ added in v1.5.0
func NewDailyQuestionAnswer(r *http.Request) (req resources.DailyQuestionAnswersResponse, err error)
func NewDailyQuestionEdit ¶ added in v1.6.0
func NewDailyQuestionEdit(r *http.Request) (req resources.DailyQuestionEditResponse, err error)
func NewFulfillPollEvent ¶ added in v1.3.0
func NewFulfillPollEvent(r *http.Request) (req resources.FulfillPollEventRequest, err error)
func NewFulfillQREvent ¶
func NewFulfillQREvent(r *http.Request) (req resources.FulfillQrEventRequest, err error)
func NewUpdateEventType ¶
func NewUpdateEventType(r *http.Request) (req resources.EventTypeResponse, err error)
func NewVerifyExternalPassport ¶ added in v1.3.0
func NewVerifyExternalPassport(r *http.Request) (req resources.VerifyPassportRequest, err error)
func NewVerifyInternalPassport ¶ added in v1.3.0
func NewVerifyInternalPassport(r *http.Request) (req resources.VerifyPassportRequest, err error)
func NewWithdraw ¶ added in v1.7.1
func NewWithdraw(r *http.Request) (req resources.WithdrawRequest, err error)
Types ¶
type EditReferralsRequest ¶
type EditReferralsRequest struct { Nullifier string `json:"nullifier"` Count uint64 `json:"count"` Infinity bool `json:"infinity"` }
func NewEditReferrals ¶
func NewEditReferrals(r *http.Request) (req EditReferralsRequest, err error)
type GetBalance ¶
type GetBalance struct { Nullifier string Rank bool `url:"rank"` ReferralCodes bool `url:"referral_codes"` }
func NewGetBalance ¶
func NewGetBalance(r *http.Request) (getBalance GetBalance, err error)
type Leaderboard ¶
type Leaderboard struct { page.OffsetParams Count bool `url:"count"` }
func NewLeaderboard ¶
func NewLeaderboard(r *http.Request) (req Leaderboard, err error)
type ListEvents ¶
type ListEvents struct { page.OffsetParams FilterNullifier *string `filter:"nullifier"` FilterStatus []data.EventStatus `filter:"status"` FilterType []string `filter:"meta.static.name"` FilterHasExpiration *bool `filter:"has_expiration"` FilterNotType []string `url:"filter[meta.static.name][not]"` Count bool `url:"count"` }
func NewListEvents ¶
func NewListEvents(r *http.Request) (req ListEvents, err error)
type ListExpiredEvents ¶
type ListExpiredEvents struct { FilterName []string `filter:"name"` FilterFlag []string `filter:"flag"` FilterNotName []string `url:"filter[name][not]"` Count bool `url:"count"` }
func NewListEventTypes ¶
func NewListEventTypes(r *http.Request) (req ListExpiredEvents, err error)
type QuestionList ¶ added in v1.6.0
type QuestionList struct { page.OffsetParams Count bool `url:"count"` }
func NewFilterStartAtDailyQuestions ¶ added in v1.6.0
func NewFilterStartAtDailyQuestions(r *http.Request) (req QuestionList, err error)
Source Files ¶
- activate_balance.go
- claim_event.go
- create_abstraction_account.go
- create_balance.go
- create_balance_v2.go
- create_bonus_code.go
- create_event_type.go
- daily_question_check.go
- daily_question_create.go
- daily_question_edit.go
- daily_question_filter.go
- edit_referrals.go
- fulfill_poll_event.go
- fulfill_qr_event.go
- get_balance.go
- get_event.go
- get_event_type.go
- leaderboard.go
- list_event_types.go
- list_events.go
- update_event_type.go
- verify_external_passport.go
- verify_internal_passport.go
- withdraw.go
Click to show internal directories.
Click to hide internal directories.