modulepackage
0.0.0-20250127162746-a8a0eecb2a4c
Repository: https://github.com/aaranmcguire/graphql.git
Documentation: pkg.go.dev
# README
graphql
Forked.
# Functions
ImmediatelyCloseReqBody will close the req body immediately after each request body is ready.
NewClient makes a new Client capable of making GraphQL requests.
NewRequest makes a new Request with the specified string.
UseMultipartForm uses multipart/form-data and activates support for files.
UseMultipartRequestSpec uses for files upload, implementing multipart request specification: https://github.com/jaydenseric/graphql-multipart-request-spec Variables doesn't supported: https://github.com/jaydenseric/graphql-multipart-request-spec/issues/22.
WithHTTPClient specifies the underlying http.Client to use when making requests.
# Type aliases
ClientOption are functions that are passed into NewClient to modify the behaviour of the Client.