noop

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2022 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package noop defines a no-op tracer implementation.

Index

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) TraceField(ctx context.Context, label, typeName, fieldName string, trivial bool, args map[string]interface{}) (context.Context, func([]byte, *errors.QueryError))

func (Tracer) TraceQuery

func (Tracer) TraceQuery(ctx context.Context, queryString string, operationName string, variables map[string]interface{}, varTypes map[string]*introspection.Type) (context.Context, func([]byte, []*errors.QueryError))

func (Tracer) TraceValidation

func (Tracer) TraceValidation(context.Context) func([]*errors.QueryError)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL