Documentation ¶
Index ¶
- type ResolverExecution
- type Span
- type Tracer
- func (a Tracer) ExtensionName() string
- func (a Tracer) InterceptField(ctx context.Context, next graphql.Resolver) (res interface{}, err error)
- func (a Tracer) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response
- func (a Tracer) Validate(schema graphql.ExecutableSchema) error
- type TracingExtension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolverExecution ¶
type Tracer ¶
type Tracer struct{}
func (Tracer) ExtensionName ¶
func (Tracer) InterceptField ¶
func (Tracer) InterceptResponse ¶
type TracingExtension ¶
type TracingExtension struct { Version int `json:"version"` StartTime time.Time `json:"startTime"` EndTime time.Time `json:"endTime"` Duration time.Duration `json:"duration"` Parsing Span `json:"parsing"` Validation Span `json:"validation"` Execution struct { Resolvers []ResolverExecution `json:"resolvers"` } `json:"execution"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.