Documentation
¶
Index ¶
Constants ¶
View Source
const Query = `` /* 1390-byte string literal not displayed */
Variables ¶
View Source
var ErrNotFoundTypes = errors.New("not found types")
Functions ¶
This section is empty.
Types ¶
type Arg ¶
type Directives ¶
type Directives struct {
Name string `json:"name"`
Description string `json:"description"`
Locations []string `json:"locations"`
Args Args `json:"args"`
}
func (*Directives) String ¶
func (d *Directives) String() string
type EnumValue ¶
type Field ¶
type InputValue ¶
type InputValue struct {
Name string `json:"name"`
Description string `json:"description"`
Type *Type `json:"type"`
DefaultValue *string `json:"defaultValue"`
}
func (*InputValue) String ¶
func (i *InputValue) String() string
type OperationType ¶
type Schema ¶
type Schema struct {
QueryType *OperationType `json:"queryType"`
MutationType *OperationType `json:"mutationType"`
SubscriptionType *OperationType `json:"subscriptionType"`
Types []*Types `json:"types"`
Directives []*Directives `json:"directives"`
// contains filtered or unexported fields
}
func (*Schema) UnmarshalJSON ¶ added in v0.0.2
type Type ¶
type Type struct {
Kind TypeKind `json:"kind"`
Name *string `json:"name"`
OfType *Type `json:"ofType"`
}
func (*Type) UnderlyingKind ¶
func (*Type) UnderlyingName ¶
type Types ¶
type Types struct {
Kind TypeKind `json:"kind"`
Name string `json:"name"`
Description string `json:"description"`
Fields []*Field `json:"fields"`
InputFields []*InputValue `json:"inputFields"`
Interfaces []*Type `json:"interfaces"`
EnumValues []*EnumValue `json:"enumValues"`
PossibleTypes []*Type `json:"possibleTypes"`
}
func (*Types) IsOperationType ¶
func (*Types) UnmarshalJSON ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.