introspection

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: BSD-2-Clause Imports: 2 Imported by: 85 modules, 95 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directive

type Directive struct {
	// contains filtered or unexported fields
}

func (*Directive) Args

func (r *Directive) Args(args *struct{ IncludeDeprecated bool }) []*InputValue

func (*Directive) Description

func (r *Directive) Description() *string

func (*Directive) IsRepeatable added in v1.11.2

func (r *Directive) IsRepeatable() bool

func (*Directive) Locations

func (r *Directive) Locations() []string

func (*Directive) Name

func (r *Directive) Name() string

type EnumValue

type EnumValue struct {
	// contains filtered or unexported fields
}

func (*EnumValue) DeprecationReason

func (r *EnumValue) DeprecationReason() *string

func (*EnumValue) Description

func (r *EnumValue) Description() *string

func (*EnumValue) IsDeprecated

func (r *EnumValue) IsDeprecated() bool

func (*EnumValue) Name

func (r *EnumValue) Name() string

type Field

type Field struct {
	// contains filtered or unexported fields
}

func (*Field) Args

func (r *Field) Args(args *struct{ IncludeDeprecated bool }) []*InputValue

func (*Field) DeprecationReason

func (r *Field) DeprecationReason() *string

func (*Field) Description

func (r *Field) Description() *string

func (*Field) IsDeprecated

func (r *Field) IsDeprecated() bool

func (*Field) Name

func (r *Field) Name() string

func (*Field) Type

func (r *Field) Type() *Type

type InputValue

type InputValue struct {
	// contains filtered or unexported fields
}

func (*InputValue) DefaultValue

func (r *InputValue) DefaultValue() *string

func (*InputValue) DeprecationReason added in v1.6.0

func (r *InputValue) DeprecationReason() *string

func (*InputValue) Description

func (r *InputValue) Description() *string

func (*InputValue) IsDeprecated added in v1.6.0

func (r *InputValue) IsDeprecated() bool

func (*InputValue) Name

func (r *InputValue) Name() string

func (*InputValue) Type

func (r *InputValue) Type() *Type

type Schema

type Schema struct {
	// contains filtered or unexported fields
}

func WrapSchema

func WrapSchema(schema *ast.Schema) *Schema

WrapSchema is only used internally.

func (*Schema) Directives

func (r *Schema) Directives() []*Directive

func (*Schema) MutationType

func (r *Schema) MutationType() *Type

func (*Schema) QueryType

func (r *Schema) QueryType() *Type

func (*Schema) SubscriptionType

func (r *Schema) SubscriptionType() *Type

func (*Schema) Types

func (r *Schema) Types() []*Type

type Type

type Type struct {
	// contains filtered or unexported fields
}

func WrapType

func WrapType(typ ast.Type) *Type

WrapType is only used internally.

func (*Type) Description

func (r *Type) Description() *string

func (*Type) EnumValues

func (r *Type) EnumValues(args *struct{ IncludeDeprecated bool }) *[]*EnumValue

func (*Type) Fields

func (r *Type) Fields(args *struct{ IncludeDeprecated bool }) *[]*Field

func (*Type) InputFields

func (r *Type) InputFields(args *struct{ IncludeDeprecated bool }) *[]*InputValue

func (*Type) Interfaces

func (r *Type) Interfaces() *[]*Type

func (*Type) Kind

func (r *Type) Kind() string

func (*Type) Name

func (r *Type) Name() *string

func (*Type) OfType

func (r *Type) OfType() *Type

func (*Type) PossibleTypes

func (r *Type) PossibleTypes() *[]*Type

func (*Type) SpecifiedByURL added in v1.5.0

func (r *Type) SpecifiedByURL() *string

Jump to

Keyboard shortcuts

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