plugin

package
v0.17.22 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 3 Imported by: 185

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeGenerator

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

type ConfigMutator

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

type EarlySourceInjector added in v0.11.0

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

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

type LateSourceInjector added in v0.11.0

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
}

Jump to

Keyboard shortcuts

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