client

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubClient

type GitHubClient struct {
	Client     *github.Client
	Owner      string
	Repository string
}

func NewGitHubClient

func NewGitHubClient(owner string, repository string, token string) *GitHubClient

func (*GitHubClient) FetchContributors

func (e *GitHubClient) FetchContributors() ([]*github.Contributor, error)

func (*GitHubClient) FetchFollowers

func (e *GitHubClient) FetchFollowers(c *github.Contributor) ([]*github.User, error)

func (*GitHubClient) FetchFollowings

func (e *GitHubClient) FetchFollowings(c *github.Contributor) ([]*github.User, error)

func (*GitHubClient) FetchIssues

func (e *GitHubClient) FetchIssues() ([]*github.Issue, error)

func (*GitHubClient) FetchMembers

func (e *GitHubClient) FetchMembers() ([]*github.User, error)

func (*GitHubClient) IsClientValid

func (c *GitHubClient) IsClientValid() bool

func (*GitHubClient) IsRepoExist

func (c *GitHubClient) IsRepoExist() bool

TODO: FIXME

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL