Versions in this module Expand all Collapse all v1 v1.0.3 Nov 8, 2021 v1.0.0 Nov 1, 2021 Changes in this version + const MethodGet + const MethodPost + const Namespace + const OperationMutation + const OperationQuery + 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)