Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Name string ReturnType ReturnType Directive *directive.Directive }
func (Field) IsConnection ¶
type Object ¶
type Object struct { Name string `json:"name"` AuthRules *directive.AuthRuleList `json:"-"` Fields FieldList `json:"-"` Type ObjectType `json:"type"` }
func (Object) ConnectedNames ¶
func (Object) HasAuthRule ¶
type ObjectList ¶
type ObjectList []*Object
func (ObjectList) ForName ¶
func (o ObjectList) ForName(name string) *Object
type ObjectType ¶
type ObjectType struct {
Name string
}
func NewObjectType ¶
func NewObjectType(name string) ObjectType
func (ObjectType) IsConnection ¶
func (o ObjectType) IsConnection() bool
func (ObjectType) IsConnectionPayload ¶
func (o ObjectType) IsConnectionPayload() bool
func (ObjectType) IsPayload ¶
func (o ObjectType) IsPayload() bool
type ReturnType ¶
type ReturnType struct { *EnumList Name string `json:"name"` IsArray bool `json:"isArray"` IsRequired bool `json:"-"` IsArrayRequired bool `json:"-"` }
func (ReturnType) IsPrimitive ¶
func (r ReturnType) IsPrimitive() bool
Click to show internal directories.
Click to hide internal directories.