Documentation ¶
Index ¶
- type CacheControl
- type Enum
- type Field
- func (f *Field) FieldName() string
- func (f *Field) GetterExternalName() string
- func (f *Field) GoDefaultValue() string
- func (f *Field) GoType() string
- func (f *Field) IsDefaultValueBool() bool
- func (f *Field) IsDefaultValueNumber() bool
- func (f *Field) IsDefaultValueString() bool
- func (f *Field) IsEnumType() bool
- func (f *Field) IsExternal() bool
- func (f *Field) IsMessageType() bool
- func (f *Field) IsNullable() bool
- func (f *Field) ScalarType() string
- func (f *Field) Variable() string
- type File
- type GoPackage
- type Message
- func (m *Message) FieldName() string
- func (m *Message) GetGoTypeName() string
- func (m *Message) GetInlineSchemaTypeName() string
- func (m *Message) GetSchemaTypeName() string
- func (m *Message) Inline() bool
- func (m *Message) InlineFieldName() string
- func (m *Message) IsObject() bool
- func (m *Message) MessageName() string
- type Method
- type Object
- type Registry
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheControl ¶
type Enum ¶
type Enum struct { *descriptor.EnumDescriptorProto File *File Outers []string Index int }
type Field ¶
type Field struct { *descriptor.FieldDescriptorProto Message *Message FieldMessage *Message Enum *Enum // GraphQL plugin options Dependence *Message Description string Nullable *bool DefaultValue interface{} Inline bool Name string Exclude bool External string }
func (*Field) GetterExternalName ¶
func (*Field) GoDefaultValue ¶
func (*Field) IsDefaultValueBool ¶
func (*Field) IsDefaultValueNumber ¶
func (*Field) IsDefaultValueString ¶
func (*Field) IsEnumType ¶
func (*Field) IsExternal ¶
func (*Field) IsMessageType ¶
func (*Field) IsNullable ¶
func (*Field) ScalarType ¶
type File ¶
type File struct { *descriptor.FileDescriptorProto GoPkg *GoPackage Messages []*Message Enums []*Enum Services []*Service }
type Message ¶
type Message struct { *descriptor.DescriptorProto File *File Outers []string Fields []*Field Index int Type string // GraphQL plugin options Object *Object }
func (*Message) GetGoTypeName ¶
func (*Message) GetInlineSchemaTypeName ¶
func (*Message) GetSchemaTypeName ¶
func (*Message) InlineFieldName ¶
func (*Message) MessageName ¶
type Method ¶
type Method struct { *descriptor.MethodDescriptorProto Service *Service Request *Message Response *Message // GraphQL plugin options Description string Name string Query bool Mutation bool Subscribe bool Extend bool Reference bool CacheControl *CacheControl Field string }
func (*Method) FullMethod ¶
func (*Method) GraphQLMethod ¶
func (*Method) HasGraphQLMethod ¶
type Registry ¶
type Service ¶
type Service struct { *descriptor.ServiceDescriptorProto File *File Methods []*Method }
func (*Service) PrivateServiceName ¶
Click to show internal directories.
Click to hide internal directories.