gqllogrus

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func From

func From(ctx context.Context) *logrus.Entry

Types

type LogrusExtension

type LogrusExtension struct {
	Logger *logrus.Entry
}

func (LogrusExtension) ExtensionName

func (n LogrusExtension) ExtensionName() string

func (LogrusExtension) InterceptField

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

func (LogrusExtension) Validate

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

Jump to

Keyboard shortcuts

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