query

package
v0.0.0-...-1037047 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, endpoint string) *client

Types

type GetUserOptions

type GetUserOptions struct {
	GitHubToken string
}

type ListPullRequestsOptions

type ListPullRequestsOptions struct {
	GitHubToken       string
	Username          string
	PullRequestCursor string
}

type ListRepositoriesDetailedOptions

type ListRepositoriesDetailedOptions struct {
	GitHubToken string
	Username    string
	Id          string
	// contains filtered or unexported fields
}

type ListRepositoriesSummaryOptions

type ListRepositoriesSummaryOptions struct {
	GitHubToken string
	Id          string
	Username    string
	// contains filtered or unexported fields
}

type PageInfo

type PageInfo struct {
	StartCursor string
	EndCursor   string
}

type Paginator

type Paginator[RES interface{}, OPTIONS interface{}] struct {
	LastPage        func(res RES) bool
	NextPageOptions func(res RES, options *OPTIONS) *OPTIONS
}

Jump to

Keyboard shortcuts

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