Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
selected.Request
Limiter chan struct{}
Tracer tracer.Tracer
Logger log.Logger
PanicHandler errors.PanicHandler
SubscribeResolverTimeout time.Duration
DisableFieldSelections bool
}
func (*Request) Execute ¶
func (r *Request) Execute(ctx context.Context, s *resolvable.Schema, op *ast.OperationDefinition) ([]byte, []*errors.QueryError)
func (*Request) Subscribe ¶
func (r *Request) Subscribe(ctx context.Context, s *resolvable.Schema, op *ast.OperationDefinition) <-chan *Response
type Response ¶
type Response struct {
Data json.RawMessage
Errors []*errors.QueryError
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package selections is for internal use to share selection context between the execution engine and the public graphql package without creating an import cycle.
|
Package selections is for internal use to share selection context between the execution engine and the public graphql package without creating an import cycle. |
Click to show internal directories.
Click to hide internal directories.