Documentation ¶
Index ¶
- Variables
- type CacheControl
- func (*CacheControl) Descriptor() ([]byte, []int)
- func (m *CacheControl) GetMaxAge() string
- func (*CacheControl) ProtoMessage()
- func (m *CacheControl) Reset()
- func (m *CacheControl) String() string
- func (m *CacheControl) XXX_DiscardUnknown()
- func (m *CacheControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CacheControl) XXX_Merge(src proto.Message)
- func (m *CacheControl) XXX_Size() int
- func (m *CacheControl) XXX_Unmarshal(b []byte) error
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetDefault() isField_Default
- func (m *Field) GetDefaultBool() bool
- func (m *Field) GetDefaultNumber() int32
- func (m *Field) GetDefaultString() string
- func (m *Field) GetDescription() string
- func (m *Field) GetExclude() bool
- func (m *Field) GetExternal() string
- func (m *Field) GetInline() bool
- func (m *Field) GetName() string
- func (m *Field) GetNullable() bool
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Field) XXX_Merge(src proto.Message)
- func (*Field) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type Field_DefaultBool
- type Field_DefaultNumber
- type Field_DefaultString
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (m *Object) GetDescription() string
- func (m *Object) GetKey() []string
- func (m *Object) GetTypename() string
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) String() string
- func (m *Object) XXX_DiscardUnknown()
- func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Object) XXX_Merge(src proto.Message)
- func (m *Object) XXX_Size() int
- func (m *Object) XXX_Unmarshal(b []byte) error
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)
- func (m *Schema) GetCacheControl() *CacheControl
- func (m *Schema) GetDescription() string
- func (m *Schema) GetExtend() string
- func (m *Schema) GetField() string
- func (m *Schema) GetMutation() string
- func (m *Schema) GetQuery() string
- func (m *Schema) GetSubscribe() string
- func (m *Schema) GetType() isSchema_Type
- func (*Schema) ProtoMessage()
- func (m *Schema) Reset()
- func (m *Schema) String() string
- func (m *Schema) XXX_DiscardUnknown()
- func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Schema) XXX_Merge(src proto.Message)
- func (*Schema) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Schema) XXX_Size() int
- func (m *Schema) XXX_Unmarshal(b []byte) error
- type Schema_Extend
- type Schema_Mutation
- type Schema_Query
- type Schema_Subscribe
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*Field)(nil), Field: 88916, Name: "grpc_custom.graphql.field", Tag: "bytes,88916,opt,name=field", Filename: "graphql.proto", }
View Source
var E_Object = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*Object)(nil), Field: 88916, Name: "grpc_custom.graphql.object", Tag: "bytes,88916,opt,name=object", Filename: "graphql.proto", }
View Source
var E_Schema = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*Schema)(nil), Field: 88916, Name: "grpc_custom.graphql.schema", Tag: "bytes,88916,opt,name=schema", Filename: "graphql.proto", }
Functions ¶
This section is empty.
Types ¶
type CacheControl ¶
type CacheControl struct { MaxAge string `protobuf:"bytes,1,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CacheControl) Descriptor ¶
func (*CacheControl) Descriptor() ([]byte, []int)
func (*CacheControl) GetMaxAge ¶
func (m *CacheControl) GetMaxAge() string
func (*CacheControl) ProtoMessage ¶
func (*CacheControl) ProtoMessage()
func (*CacheControl) Reset ¶
func (m *CacheControl) Reset()
func (*CacheControl) String ¶
func (m *CacheControl) String() string
func (*CacheControl) XXX_DiscardUnknown ¶
func (m *CacheControl) XXX_DiscardUnknown()
func (*CacheControl) XXX_Marshal ¶
func (m *CacheControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CacheControl) XXX_Merge ¶
func (m *CacheControl) XXX_Merge(src proto.Message)
func (*CacheControl) XXX_Size ¶
func (m *CacheControl) XXX_Size() int
func (*CacheControl) XXX_Unmarshal ¶
func (m *CacheControl) XXX_Unmarshal(b []byte) error
type Field ¶
type Field struct { Nullable bool `protobuf:"varint,1,opt,name=nullable,proto3" json:"nullable,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Types that are valid to be assigned to Default: // *Field_DefaultString // *Field_DefaultNumber // *Field_DefaultBool Default isField_Default `protobuf_oneof:"default"` Inline bool `protobuf:"varint,6,opt,name=inline,proto3" json:"inline,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` Exclude bool `protobuf:"varint,8,opt,name=exclude,proto3" json:"exclude,omitempty"` External string `protobuf:"bytes,9,opt,name=external,proto3" json:"external,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Field) Descriptor ¶
func (*Field) GetDefault ¶
func (m *Field) GetDefault() isField_Default
func (*Field) GetDefaultBool ¶
func (*Field) GetDefaultNumber ¶
func (*Field) GetDefaultString ¶
func (*Field) GetDescription ¶
func (*Field) GetExclude ¶
func (*Field) GetExternal ¶
func (*Field) GetNullable ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_OneofFuncs ¶
func (*Field) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Field) XXX_Unmarshal ¶
type Field_DefaultBool ¶
type Field_DefaultBool struct {
DefaultBool bool `protobuf:"varint,5,opt,name=default_bool,json=defaultBool,proto3,oneof"`
}
type Field_DefaultNumber ¶
type Field_DefaultNumber struct {
DefaultNumber int32 `protobuf:"varint,4,opt,name=default_number,json=defaultNumber,proto3,oneof"`
}
type Field_DefaultString ¶
type Field_DefaultString struct {
DefaultString string `protobuf:"bytes,3,opt,name=default_string,json=defaultString,proto3,oneof"`
}
type Object ¶
type Object struct { Typename string `protobuf:"bytes,1,opt,name=typename,proto3" json:"typename,omitempty"` Key []string `protobuf:"bytes,2,rep,name=key,proto3" json:"key,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Object) Descriptor ¶
func (*Object) GetDescription ¶
func (*Object) GetTypename ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) XXX_DiscardUnknown ¶
func (m *Object) XXX_DiscardUnknown()
func (*Object) XXX_Marshal ¶
func (*Object) XXX_Unmarshal ¶
type Schema ¶
type Schema struct { // Types that are valid to be assigned to Type: // *Schema_Query // *Schema_Mutation // *Schema_Subscribe // *Schema_Extend Type isSchema_Type `protobuf_oneof:"type"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` CacheControl *CacheControl `protobuf:"bytes,7,opt,name=cache_control,json=cacheControl,proto3" json:"cache_control,omitempty"` Field string `protobuf:"bytes,8,opt,name=field,proto3" json:"field,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Schema) Descriptor ¶
func (*Schema) GetCacheControl ¶
func (m *Schema) GetCacheControl() *CacheControl
func (*Schema) GetDescription ¶
func (*Schema) GetMutation ¶
func (*Schema) GetSubscribe ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) XXX_DiscardUnknown ¶
func (m *Schema) XXX_DiscardUnknown()
func (*Schema) XXX_Marshal ¶
func (*Schema) XXX_OneofFuncs ¶
func (*Schema) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Schema) XXX_Unmarshal ¶
type Schema_Extend ¶
type Schema_Extend struct {
Extend string `protobuf:"bytes,4,opt,name=extend,proto3,oneof"`
}
type Schema_Mutation ¶
type Schema_Mutation struct {
Mutation string `protobuf:"bytes,2,opt,name=mutation,proto3,oneof"`
}
type Schema_Query ¶
type Schema_Query struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3,oneof"`
}
type Schema_Subscribe ¶
type Schema_Subscribe struct {
Subscribe string `protobuf:"bytes,3,opt,name=subscribe,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.