Documentation ¶
Overview ¶
Package noop defines a no-op tracer implementation.
Index ¶
- type Tracer
- func (Tracer) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, ...) (context.Context, func([]byte, *errors.QueryError))
- func (Tracer) TraceQuery(ctx context.Context, queryString string, operationName string, ...) (context.Context, func([]byte, []*errors.QueryError))
- func (Tracer) TraceValidation(context.Context) func([]*errors.QueryError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer struct{}
Tracer is a no-op tracer that does nothing.
func (Tracer) TraceField ¶
func (Tracer) TraceQuery ¶
func (Tracer) TraceValidation ¶
func (Tracer) TraceValidation(context.Context) func([]*errors.QueryError)
Click to show internal directories.
Click to hide internal directories.