Documentation
¶
Index ¶
- type GithubService
- func (gh *GithubService) GetAllUserRepositories() ([]*github.Repository, error)
- func (gh *GithubService) GetIssues(owner, repo string) ([]*github.Issue, error)
- func (gh *GithubService) GetPullRequests(owner, repo string) ([]*github.PullRequest, error)
- func (gh *GithubService) SearchRepositories(query string) ([]*github.Repository, *github.Response, error)
- func (gh *GithubService) TestAuthentication() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubService ¶
type GithubService struct {
// contains filtered or unexported fields
}
func NewAuthenticatedService ¶
func NewAuthenticatedService(token string, cacheDir string) *GithubService
func NewUnauthenticatedService ¶
func NewUnauthenticatedService(cacheDir string) *GithubService
func (*GithubService) GetAllUserRepositories ¶
func (gh *GithubService) GetAllUserRepositories() ([]*github.Repository, error)
func (*GithubService) GetIssues ¶ added in v1.2.0
func (gh *GithubService) GetIssues(owner, repo string) ([]*github.Issue, error)
func (*GithubService) GetPullRequests ¶ added in v1.2.0
func (gh *GithubService) GetPullRequests(owner, repo string) ([]*github.PullRequest, error)
func (*GithubService) SearchRepositories ¶ added in v1.2.0
func (gh *GithubService) SearchRepositories(query string) ([]*github.Repository, *github.Response, error)
func (*GithubService) TestAuthentication ¶
func (gh *GithubService) TestAuthentication() error
Click to show internal directories.
Click to hide internal directories.