Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizedUser ¶
type CheckAuthResponse ¶
type CheckAuthResponse struct {
User AuthorizedUser `json:"user"`
}
type IDResponse ¶
type IDResponse struct {
ID int `json:"id"`
}
type RepoInfo ¶
type RepoInfo struct { ID uint `json:"id"` HookID string `json:"hookId"` // needed only for tests Name string `json:"name"` Organization string `json:"organization,omitempty"` IsAdmin bool `json:"isAdmin"` IsActivated bool `json:"isActivated,omitempty"` IsPrivate bool `json:"isPrivate,omitempty"` IsCreating bool `json:"isCreating,omitempty"` IsDeleting bool `json:"isDeleting,omitempty"` Language string `json:"language,omitempty"` CreateFailReason string `json:"createFailReason,omitempty"` }
type RepoListResponse ¶
type SubInfo ¶
type SubInfo struct { SeatsCount int `json:"seatsCount"` Status string `json:"status"` Version int `json:"version"` PricePerSeat string `json:"pricePerSeat"` CancelURL string `json:"cancelUrl"` TrialAllowanceInDays int `json:"trialAllowanceInDays"` PaddleTrialDaysAuth string `json:"paddleTrialDaysAuth"` }
type WrappedRepoInfo ¶
type WrappedRepoInfo struct {
Repo RepoInfo `json:"repo"`
}
Click to show internal directories.
Click to hide internal directories.