# Functions
AddVarNamesToQuery accepts a query or mutation definition and will populate the definition with the variables passed.
ExecuteQuery is shorthand for ExecuteQueryContext with the given args.Look to ExecuteQueryContext for more details.
ExecuteQueryContext takes a context for HTTP request control and the given QueryConfig.It executes the graphql request against the proveded HTTPClient, returning an error or unmarshalling into QueryConfig.Output if provided.HClient, ServerURL, and Request are required in QueryConfig.
No description provided by the author
ExecuteQueryEscapeHTML is shorthand for ExecuteQueryContext with the given args.Look to ExecuteQueryContext for more details.
No description provided by the author
No description provided by the author
NewRequest creates a default graphql request with empty vars The Request struct should NOT be created directly - it should use this method so we can make sure everything is set on your graphql request.
No description provided by the author
RequestWithHeader adds a set of headers to the request, any headers that are already present, will be skipped.
RequestWithLogger adds a logger for possibly more verbose output.
RequestWithTenant adds a tenant id to the individual request, overriding one set by client.Options.
RequestWithToken adds a bearer token to the individual request, overriding one set by client.Options.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Error is the response type for graphql errors from our gateway.
No description provided by the author
No description provided by the author
QueryConfig takes all necessary or optional params for this package's Execute functions.
Request is the standard graphql request format to send to an API This should NOT be instantiated directly, you should use the NewRequest method to make sure your getting everything you need set.
No description provided by the author
No description provided by the author
# Interfaces
HTTPClient is any client that can perform HTTP requests.It is often but not always github.com/secureworks/taegis-sdk-go/client.
# Type aliases
RequestOption are for the services to use to provide a token *per* request instead of one for the overall client.
ResponseFields is used to define what graphql response fields we want back from the server.
No description provided by the author