INNER CODE UNIT · Go

ImmediatelyCloseReqBody

machinebox/graphql · graphql.go:242

func ImmediatelyCloseReqBody() ClientOption {
	return func(client *Client) {
		client.closeReq = true
	}
}

// ClientOption are functions that are passed into NewClient to
// modify the behaviour of the Client.
type ClientOption func(*Client)

type graphErr struct {
	Message string
}

func (e graphErr) Error() string {
	return "graphql: " + e.Message
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…