githubapi

package
v0.0.0-...-e0dd589 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(cfg internalconfig.Config) *Client

func (*Client) EstimateExternalContributions

func (client *Client) EstimateExternalContributions(ctx context.Context, repositories []internalmodel.Repository) ([]internalmodel.ExternalContributionEstimate, error)

func (*Client) FetchContributorActivity

func (client *Client) FetchContributorActivity(ctx context.Context, repositories []internalmodel.Repository) ([]internalmodel.RepoActivity, int, int, error)

func (*Client) FetchTotalContributions

func (client *Client) FetchTotalContributions(ctx context.Context) (int, error)

func (*Client) FetchViews

func (client *Client) FetchViews(ctx context.Context, repositories []internalmodel.Repository) (int, error)

Jump to

Keyboard shortcuts

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