introspection

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: BSD-2-Clause Imports: 2 Imported by: 3

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() []*InputValue

func (*Directive) Description

func (r *Directive) Description() *string

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() []*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) Description

func (r *InputValue) Description() *string

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 *types.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 Service added in v0.0.8

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

func WrapService added in v0.0.8

func WrapService(schema *types.Schema) *Service

WrapService is only used internally.

func (*Service) SDL added in v0.0.8

func (r *Service) SDL() string

type Type

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

func WrapType

func WrapType(typ types.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() *[]*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 v0.0.8

func (r *Type) SpecifiedByURL() *string

Jump to

Keyboard shortcuts

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