# README
This client is used internally for testing. I wanted a simple graphql client sent user specified queries.
You might want to look at:
- https://github.com/shurcooL/graphql: Uses reflection to build queries from structs.
- https://github.com/machinebox/graphql: Probably would have been a perfect fit, but it uses form encoding instead of json...
# Functions
AddCookie adds a cookie to the outgoing request.
AddHeader adds a header to the outgoing request.
BasicAuth authenticates the request using http basic auth.
Extensions sets the extensions to be sent with the outgoing request.
New creates a graphql client Options can be set that should be applied to all requests made with this client.
Operation sets the operation name for the outgoing request.
Path sets the url that this request will be made against, useful if you are mounting your entire router and need to specify the url to the graphql endpoint.
Var adds a variable into the outgoing request.
WithFiles encodes the outgoing request body as multipart form data for file variables.
# Structs
No description provided by the author
RawJsonError is a json formatted error from a GraphQL server.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author