graphql

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Field) GetDefault

func (m *Field) GetDefault() isField_Default

func (*Field) GetDefaultBool

func (m *Field) GetDefaultBool() bool

func (*Field) GetDefaultNumber

func (m *Field) GetDefaultNumber() int32

func (*Field) GetDefaultString

func (m *Field) GetDefaultString() string

func (*Field) GetDescription

func (m *Field) GetDescription() string

func (*Field) GetExclude

func (m *Field) GetExclude() bool

func (*Field) GetExternal

func (m *Field) GetExternal() string

func (*Field) GetInline

func (m *Field) GetInline() bool

func (*Field) GetName

func (m *Field) GetName() string

func (*Field) GetNullable

func (m *Field) GetNullable() bool

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) Reset

func (m *Field) Reset()

func (*Field) String

func (m *Field) String() string

func (*Field) XXX_DiscardUnknown

func (m *Field) XXX_DiscardUnknown()

func (*Field) XXX_Marshal

func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Field) XXX_Merge

func (m *Field) XXX_Merge(src proto.Message)

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_Size

func (m *Field) XXX_Size() int

func (*Field) XXX_Unmarshal

func (m *Field) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Object) GetDescription

func (m *Object) GetDescription() string

func (*Object) GetKey

func (m *Object) GetKey() []string

func (*Object) GetTypename

func (m *Object) GetTypename() string

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) Reset

func (m *Object) Reset()

func (*Object) String

func (m *Object) String() string

func (*Object) XXX_DiscardUnknown

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal

func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Object) XXX_Merge

func (m *Object) XXX_Merge(src proto.Message)

func (*Object) XXX_Size

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal

func (m *Object) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Schema) GetCacheControl

func (m *Schema) GetCacheControl() *CacheControl

func (*Schema) GetDescription

func (m *Schema) GetDescription() string

func (*Schema) GetExtend

func (m *Schema) GetExtend() string

func (*Schema) GetField

func (m *Schema) GetField() string

func (*Schema) GetMutation

func (m *Schema) GetMutation() string

func (*Schema) GetQuery

func (m *Schema) GetQuery() string

func (*Schema) GetSubscribe

func (m *Schema) GetSubscribe() string

func (*Schema) GetType

func (m *Schema) GetType() isSchema_Type

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) Reset

func (m *Schema) Reset()

func (*Schema) String

func (m *Schema) String() string

func (*Schema) XXX_DiscardUnknown

func (m *Schema) XXX_DiscardUnknown()

func (*Schema) XXX_Marshal

func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Schema) XXX_Merge

func (m *Schema) XXX_Merge(src proto.Message)

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_Size

func (m *Schema) XXX_Size() int

func (*Schema) XXX_Unmarshal

func (m *Schema) XXX_Unmarshal(b []byte) error

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"`
}

Jump to

Keyboard shortcuts

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