Documentation
¶
Index ¶
- type Client
- func (c Client) GetPullRequestCount(ctx context.Context, user string, repo string) (prCount int, err error)
- func (c Client) GetPullRequestCountPage(ctx context.Context, user string, repo string, page int) (prCount int, nextPage int, err error)
- func (c Client) GetRepoStats(ctx context.Context, user string, repo string) (RepoStats, error)
- func (c Client) GetUserRepoNames(ctx context.Context, user string) (repos []string, err error)
- func (c Client) GetUserReposPage(ctx context.Context, user string, page int) (repoNames []string, nextPage int, err error)
- type PullRequests
- type RepoStats
- type Repositories
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Repositories PullRequests }
func New ¶ added in v0.4.0
func New(tp http.RoundTripper) *Client
func (Client) GetPullRequestCount ¶ added in v0.4.0
func (Client) GetPullRequestCountPage ¶
func (Client) GetRepoStats ¶
func (Client) GetUserRepoNames ¶ added in v0.4.0
type PullRequests ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.