Versions in this module Expand all Collapse all v2 v2.0.2 Sep 16, 2023 Changes in this version + const MethodGet + const MethodPost + const Namespace + const OperationMutation + const OperationQuery + var ErrNoConfigFound = errors.New("grapghql: no configuration found") + type Extractor struct + func New(opt Options) *Extractor + func (e *Extractor) BodyFromBody(r io.Reader) ([]byte, error) + func (e *Extractor) BodyFromParams(params map[string]string) ([]byte, error) + func (e *Extractor) QueryFromBody(r io.Reader) (url.Values, error) + func (e *Extractor) QueryFromParams(params map[string]string) (url.Values, error) + type GraphQLRequest struct + OperationName string + Query string + Variables map[string]interface{} + type OperationMethod string + type OperationType string + type Options struct + Method OperationMethod + QueryPath string + Type OperationType + func GetOptions(cfg config.ExtraConfig) (*Options, error)