Back to godoc.org
github.com/99designs/gqlgen / plugin

package plugin

v0.11.3
Latest Go to latest
Published: Mar 13, 2020 | License: MIT | Module: github.com/99designs/gqlgen

Index

type CodeGenerator

type CodeGenerator interface {
	GenerateCode(cfg *codegen.Data) error
}

type ConfigMutator

type ConfigMutator interface {
	MutateConfig(cfg *config.Config) error
}

type EarlySourceInjector

type EarlySourceInjector interface {
	InjectSourceEarly() *ast.Source
}

EarlySourceInjector is used to inject things that are required for user schema files to compile.

type LateSourceInjector

type LateSourceInjector interface {
	InjectSourceLate(schema *ast.Schema) *ast.Source
}

LateSourceInjector is used to inject more sources, after we have loaded the users schema.

type Plugin

type Plugin interface {
	Name() string
}
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier