Documentation
¶
Index ¶
- type Client
- func (c *Client) GetContentFile(ctx context.Context, owner, repo, path string) (string, error)
- func (c *Client) GetReadme(ctx context.Context, owner, repo string) (string, error)
- func (c *Client) GetRepository(ctx context.Context, owner, repo string) (*Repository, error)
- func (c *Client) ListReadmeVariants(ctx context.Context, owner, repo string) ([]string, error)
- func (c *Client) ListReleases(ctx context.Context, owner, repo string) ([]*Release, error)
- func (c *Client) ListStarred(ctx context.Context, username string) ([]*Repository, error)
- func (c *Client) RateLimit(ctx context.Context) (*Rate, error)
- func (c *Client) SearchRepositories(ctx context.Context, query string) ([]*Repository, error)
- func (c *Client) SetClient(ghc *gh.Client)
- func (c *Client) Star(ctx context.Context, owner, repo string) error
- func (c *Client) Unstar(ctx context.Context, owner, repo string) error
- func (c *Client) UpdateReadmeFile(ctx context.Context, owner, repo, content, message string) error
- type Rate
- type Release
- type ReleaseAsset
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetContentFile ¶
func (*Client) GetRepository ¶
func (*Client) ListReadmeVariants ¶
func (*Client) ListReleases ¶
func (*Client) ListStarred ¶
func (*Client) SearchRepositories ¶
type ReleaseAsset ¶
type ReleaseAsset = store.ReleaseAsset
type Repository ¶
type Repository = store.Repository
Click to show internal directories.
Click to hide internal directories.