Versions in this module Expand all Collapse all v0 v0.18.0 Nov 10, 2025 Changes in this version + var ErrExtensionNotFound = errors.New("extension not found") + type Body struct + Query string + Variables map[string]any + type Error []ErrorEntry + func (err Error) Error() string + func (err Error) ExtensionBool(key string) (bool, bool) + func (err Error) ExtensionEqualBool(key string, value bool) bool + func (err Error) ExtensionEqualInt(key string, value int) bool + func (err Error) ExtensionEqualString(key, value string) bool + func (err Error) ExtensionFloat64(key string) (float64, bool) + func (err Error) ExtensionInt(key string) (int, bool) + func (err Error) ExtensionString(key string) (string, bool) + func (err Error) ExtensionUnmarshal(key string, in any) error + func (err Error) Unwrap() []error + type ErrorEntry struct + Extensions map[string]json.RawMessage + Locations []Location + Message string + Path []string + func (entry ErrorEntry) Error() string + func (entry ErrorEntry) ExtensionBool(key string) (bool, bool) + func (entry ErrorEntry) ExtensionFloat64(key string) (float64, bool) + func (entry ErrorEntry) ExtensionInt(key string) (int, bool) + func (entry ErrorEntry) ExtensionString(key string) (string, bool) + func (entry ErrorEntry) ExtensionUnmarshal(key string, in any) error + type HttpClient struct + func NewHttpClient(url string, opts ...HttpClientOpts) HttpClient + func (httpClient HttpClient) Do(ctx context.Context, in Body, out any) error + type HttpClientOpts func(*HttpClient) + func WithHttpClient(c *http.Client) HttpClientOpts + type Location struct + Column int + Line int + type ProtoClient interface + Do func(ctx context.Context, in Body, out any) error + type Response struct + Data json.RawMessage + Errors *Error