zapgqlgen

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) *zap.Logger

Types

type ZapExtension

type ZapExtension struct {
	Logger      *zap.Logger
	UseNewRelic bool
}

func (ZapExtension) ExtensionName

func (n ZapExtension) ExtensionName() string

func (ZapExtension) InterceptField

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

func (ZapExtension) Validate

func (n ZapExtension) Validate(schema graphql.ExecutableSchema) error

Jump to

Keyboard shortcuts

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