Documentation ¶
Index ¶
- Variables
- type ChangePasswordInput
- type GetUserResponse
- type LoginInput
- type LoginResponse
- type RefreshTokenInput
- type ResendConfirmationEmailInput
- type ResetPasswordInput
- type Stats
- type StatsServiceType
- type StatsUserType
- type User
- type UserInput
- type UserType
- type VerifyEmailInput
- type VerifyServiceInput
- type WorkGenerateInput
Constants ¶
This section is empty.
Variables ¶
View Source
var AllUserType = []UserType{ UserTypeProvider, UserTypeRequester, }
Functions ¶
This section is empty.
Types ¶
type ChangePasswordInput ¶
type ChangePasswordInput struct {
NewPassword string `json:"newPassword"`
}
type GetUserResponse ¶
type GetUserResponse struct { Email string `json:"email"` Type UserType `json:"type"` BanAddress *string `json:"banAddress"` ServiceName *string `json:"serviceName"` ServiceWebsite *string `json:"serviceWebsite"` EmailVerified bool `json:"emailVerified"` CanRequestWork bool `json:"canRequestWork"` }
type LoginInput ¶
type LoginResponse ¶
type RefreshTokenInput ¶
type RefreshTokenInput struct {
Token string `json:"token"`
}
type ResendConfirmationEmailInput ¶
type ResendConfirmationEmailInput struct {
Email string `json:"email"`
}
type ResetPasswordInput ¶
type ResetPasswordInput struct {
Email string `json:"email"`
}
type Stats ¶
type Stats struct { ConnectedWorkers int `json:"connectedWorkers"` TotalPaidBanano string `json:"totalPaidBanano"` RegisteredServiceCount int `json:"registeredServiceCount"` Top10 []*StatsUserType `json:"top10"` Services []*StatsServiceType `json:"services"` }
type StatsServiceType ¶
type StatsUserType ¶
type VerifyEmailInput ¶
type VerifyServiceInput ¶
type WorkGenerateInput ¶
Click to show internal directories.
Click to hide internal directories.