package
0.1.0
Repository: https://github.com/tilotech/batch-graphql.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new Client using the provided configuration and query.
PrintStats creates an instance of Stats and if verbose is true starts printing these stats to stdout regularly.
Run processes the GraphQL requests using the provided configuration.
RunWith processes the GraphQL requests using the configured dependencies.

# Structs

Client is used for making GraphQL requests via HTTP using pre-configured url, query, header and login information.
Config holds the run configuration.
OAuthConfig holds the credentials for the OAuth 2.0 client credentials flow.
SilentStats can be used when the statistics should not be collected.
VerboseStats counts the processed and erroneous requests.

# Interfaces

Stats can be used for counting processed and erroneous requests.