graphql

package
v0.0.2-alpha19 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GQLReader

type GQLReader interface {
	Read() ([]map[string]interface{}, error)
}

func NewStandardGQLReader

func NewStandardGQLReader(
	httpClient *http.Client,
	request *http.Request,
	httpPageLimit int,
	baseQuery string,
	constInput map[string]interface{},
	initialCursor string,
	responseJsonPath string,
	latestCursorJsonPath string,
) (GQLReader, error)

type StandardGQLReader

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

func (*StandardGQLReader) Read

func (gq *StandardGQLReader) Read() ([]map[string]interface{}, error)

Jump to

Keyboard shortcuts

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