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: 0

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