Documentation
¶
Index ¶
- Variables
- func ResolveToken(ctx context.Context) string
- type Client
- func (c *Client) Authenticated() bool
- func (c *Client) ListIssues(ctx context.Context, owner string, repo string) ([]model.IssueItem, error)
- func (c *Client) ListMyIssues(ctx context.Context) ([]model.AccountIssueItem, error)
- func (c *Client) ListMyPullRequests(ctx context.Context) ([]model.AccountPullRequestItem, error)
- func (c *Client) ListPRs(ctx context.Context, owner string, repo string) ([]model.PullRequestItem, error)
- func (c *Client) PullRequestDiff(ctx context.Context, owner string, repo string, number int) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnauthenticated = errors.New("unauthenticated")
Functions ¶
func ResolveToken ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Authenticated ¶
func (*Client) ListIssues ¶
func (*Client) ListMyIssues ¶
func (*Client) ListMyPullRequests ¶
Click to show internal directories.
Click to hide internal directories.