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 trace.Tracer Logger log.Logger SubscribeResolverTimeout time.Duration }
func (*Request) Execute ¶
func (r *Request) Execute(ctx context.Context, s *resolvable.Schema, op *types.OperationDefinition) ([]byte, []*errors.QueryError)
func (*Request) Subscribe ¶
func (r *Request) Subscribe(ctx context.Context, s *resolvable.Schema, op *types.OperationDefinition) <-chan *Response
type Response ¶
type Response struct { Data json.RawMessage Errors []*errors.QueryError }
Click to show internal directories.
Click to hide internal directories.