Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bounty ¶
type Bounty struct {
OwnerID int64 `json:"owner_id"`
Title string `json:"title"`
URL string `json:"url"`
Reward string `json:"reward"`
}
func BountyFromEntity ¶
type BountyResponse ¶
type BountyResponse struct {
Bounties []BountyWithOwner `json:"bounties"`
}
type BountyWithOwner ¶
type BountyWithOwner struct {
OwnerID int64 `json:"owner_id"`
Owner string `json:"owner"`
OwnerURL string `json:"owner_url"`
OwnerAvatarURL string `json:"owner_avatar_url"`
OwnerType string `json:"owner_type"`
Title string `json:"title"`
URL string `json:"url"`
Reward string `json:"reward"`
}
func BountyWithOwnerFromEntity ¶
func BountyWithOwnerFromEntity(e *entity.BountyWithOwner) BountyWithOwner
type OwnerInfoResponse ¶
type OwnerInfoResponse struct {
Name string `json:"name"`
AvatarURL string `json:"avatar_url"`
TotalBudget string `json:"total_budget"`
AvailableBudget string `json:"available_budget"`
TotalBounties int `json:"total_bounties"`
AvailableBounties int `json:"available_bounties"`
Bounties []Bounty `json:"bounties"`
}
type SetupRequest ¶
Click to show internal directories.
Click to hide internal directories.