gqlgen: github.com/99designs/gqlgen/graphql/handler/apollotracing Index | Files

package apollotracing

import "github.com/99designs/gqlgen/graphql/handler/apollotracing"

Index

Package Files

tracer.go

type ResolverExecution Uses

type ResolverExecution struct {
    Path        ast.Path      `json:"path"`
    ParentType  string        `json:"parentType"`
    FieldName   string        `json:"fieldName"`
    ReturnType  string        `json:"returnType"`
    StartOffset time.Duration `json:"startOffset"`
    Duration    time.Duration `json:"duration"`
}

type Span Uses

type Span struct {
    StartOffset time.Duration `json:"startOffset"`
    Duration    time.Duration `json:"duration"`
}

type Tracer Uses

type Tracer struct{}

func (Tracer) ExtensionName Uses

func (Tracer) ExtensionName() string

func (Tracer) InterceptField Uses

func (Tracer) InterceptField(ctx context.Context, next graphql.Resolver) (interface{}, error)

func (Tracer) InterceptResponse Uses

func (Tracer) InterceptResponse(ctx context.Context, next graphql.ResponseHandler) *graphql.Response

func (Tracer) Validate Uses

func (Tracer) Validate(graphql.ExecutableSchema) error

type TracingExtension Uses

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
}

Package apollotracing imports 5 packages (graph) and is imported by 3 packages. Updated 2020-06-15. Refresh now. Tools for package owners.