ghoauth

package
v0.0.0-...-cb886e6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GHOAuthClient

type GHOAuthClient interface {
	GetUser(ctx context.Context) (*github.User, *github.Response, error)
	ListOrganizations(ctx context.Context) ([]*github.Organization, *github.Response, error)
	ListOwnerRepos(ctx context.Context, owner string) ([]*github.Repository, error)
}

func FromToken

func FromToken(token *oauth2.Token) GHOAuthClient

Jump to

Keyboard shortcuts

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