internal

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultApiEndpoint = "https://api.raito.cloud/"
View Source
const GqlApiPath = "query"
View Source
const MaxPageSize = 25

Variables

This section is empty.

Functions

func PaginationExecutor

func PaginationExecutor[T any, E any](ctx context.Context, loadPageFn func(ctx context.Context, cursor *string) (*types.PageInfo, []E, error), edgeFn func(edge *E) (*string, *T, error)) <-chan types.ListItem[T]

Types

type AuthedDoer

type AuthedDoer struct {
	Domain string
	User   string
	Secret string
	Url    string
	// contains filtered or unexported fields
}

func (*AuthedDoer) Do

func (d *AuthedDoer) Do(req *http.Request) (*http.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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