Versions in this module Expand all Collapse all v0 v0.1.0 Jan 30, 2023 Changes in this version + func Run(ctx context.Context, config Config) error + func RunWith(ctx context.Context, client *Client, input *json.Decoder, output *json.Encoder, ...) error + type Client struct + func NewClient(config Config, query string) (*Client, error) + func (c *Client) Do(variables map[string]any) (io.ReadCloser, error) + type Config struct + BearerToken string + Connections int + ErrorFile string + Headers []string + InputFile string + OAuth OAuthConfig + OutputFile string + QueryFile string + URL string + Verbose bool + type OAuthConfig struct + ClientID string + ClientSecret string + Scope string + URL string + type SilentStats struct + func (s *SilentStats) AddError() + func (s *SilentStats) AddProcessed() + func (s *SilentStats) Values() (int, int) + type Stats interface + AddError func() + AddProcessed func() + Values func() (int, int) + func PrintStats(verbose bool, d time.Duration) Stats + type VerboseStats struct + func (s *VerboseStats) AddError() + func (s *VerboseStats) AddProcessed() + func (s *VerboseStats) Values() (int, int)