Help us shape the future of Go! Take the 2026 Go Developer Survey

githubapi

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RESTClient

type RESTClient interface {
	Get(path string, response interface{}) error
}

type Source

type Source struct {
	// contains filtered or unexported fields
}

func NewAuthenticatedSource

func NewAuthenticatedSource(host string) (*Source, string, string, error)

func NewSource

func NewSource(client RESTClient) *Source

func (*Source) ListRepositories

func (s *Source) ListRepositories(ctx context.Context, organization string) ([]mirror.Repository, error)

Jump to

Keyboard shortcuts

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