Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldFinishFunc ¶
type FieldFinishFunc = func(*errors.QueryError)
type LegacyNoopValidationTracer
deprecated
type LegacyNoopValidationTracer struct{}
Deprecated: use a Tracer which implements ValidationTracerContext.
func (LegacyNoopValidationTracer) TraceValidation
deprecated
func (LegacyNoopValidationTracer) TraceValidation() func([]*errors.QueryError)
Deprecated: use a Tracer which implements ValidationTracerContext.
type LegacyValidationTracer
deprecated
type LegacyValidationTracer interface {
TraceValidation() func([]*errors.QueryError)
}
Deprecated: use ValidationTracerContext instead.
type QueryFinishFunc ¶
type QueryFinishFunc = func([]*errors.QueryError)
type Tracer ¶
type Tracer interface { TraceQuery(ctx context.Context, queryString string, operationName string, variables map[string]interface{}, varTypes map[string]*introspection.Type) (context.Context, QueryFinishFunc) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, args map[string]interface{}) (context.Context, FieldFinishFunc) }
type ValidationFinishFunc ¶
type ValidationFinishFunc = func([]*errors.QueryError)
type ValidationTracer ¶
type ValidationTracer interface {
TraceValidation(ctx context.Context) ValidationFinishFunc
}
Click to show internal directories.
Click to hide internal directories.