Documentation
¶
Index ¶
Constants ¶
View Source
const ( OperationMutation OperationType = "mutation" OperationQuery OperationType = "query" MethodPost OperationMethod = http.MethodPost MethodGet OperationMethod = http.MethodGet )
View Source
const Namespace = "github.com/starvn/turbo/transport/http/client/graphql"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
func (Extractor) BodyFromParams ¶
type GraphQLRequest ¶
type OperationMethod ¶
type OperationMethod string
type OperationType ¶
type OperationType string
type Options ¶
type Options struct { GraphQLRequest QueryPath string `json:"query_path,omitempty"` Type OperationType `json:"type"` Method OperationMethod `json:"method"` }
func GetOptions ¶
func GetOptions(cfg config.ExtraConfig) (*Options, error)
Click to show internal directories.
Click to hide internal directories.