Documentation ¶
Index ¶
- Variables
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetDirs() string
- func (x *Field) GetIgnore() bool
- func (x *Field) GetName() string
- func (x *Field) GetParams() string
- func (x *Field) GetRequired() bool
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type Oneof
- type Rpc
- type Svc
- func (*Svc) Descriptor() ([]byte, []int)deprecated
- func (x *Svc) GetIgnore() bool
- func (x *Svc) GetName() string
- func (x *Svc) GetType() Type
- func (x *Svc) GetUpstream() Upstream
- func (*Svc) ProtoMessage()
- func (x *Svc) ProtoReflect() protoreflect.Message
- func (x *Svc) Reset()
- func (x *Svc) String() string
- type Type
- func (Type) Descriptor() protoreflect.EnumDescriptor
- func (x Type) Enum() *Type
- func (Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Type) Number() protoreflect.EnumNumber
- func (x Type) String() string
- func (Type) Type() protoreflect.EnumType
- func (x *Type) UnmarshalJSON(b []byte) errordeprecated
- type Upstream
- func (Upstream) Descriptor() protoreflect.EnumDescriptor
- func (x Upstream) Enum() *Upstream
- func (Upstream) EnumDescriptor() ([]byte, []int)deprecated
- func (x Upstream) Number() protoreflect.EnumNumber
- func (x Upstream) String() string
- func (Upstream) Type() protoreflect.EnumType
- func (x *Upstream) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "DEFAULT", 1: "MUTATION", 2: "QUERY", } Type_value = map[string]int32{ "DEFAULT": 0, "MUTATION": 1, "QUERY": 2, } )
Enum value maps for Type.
View Source
var ( Upstream_name = map[int32]string{ 0: "UPSTREAM_UNSPECIFIED", 1: "UPSTREAM_SERVER", 2: "UPSTREAM_CLIENT", } Upstream_value = map[string]int32{ "UPSTREAM_UNSPECIFIED": 0, "UPSTREAM_SERVER": 1, "UPSTREAM_CLIENT": 2, } )
Enum value maps for Upstream.
View Source
var (
// optional danielvladco.protobuf.graphql.Field field = 65030;
E_Field = &file_pb_graphql_proto_extTypes[2]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var (
// optional danielvladco.protobuf.graphql.Oneof oneof = 65030;
E_Oneof = &file_pb_graphql_proto_extTypes[3]
)
Extension fields to descriptorpb.OneofOptions.
View Source
var (
// optional danielvladco.protobuf.graphql.Rpc rpc = 65030;
E_Rpc = &file_pb_graphql_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var (
// optional danielvladco.protobuf.graphql.Svc svc = 65030;
E_Svc = &file_pb_graphql_proto_extTypes[1]
)
Extension fields to descriptorpb.ServiceOptions.
View Source
var File_pb_graphql_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` Params *string `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"` Dirs *string `protobuf:"bytes,3,opt,name=dirs" json:"dirs,omitempty"` Ignore *bool `protobuf:"varint,4,opt,name=ignore" json:"ignore,omitempty"` Name *string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetRequired ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Oneof ¶
type Oneof struct { Ignore *bool `protobuf:"varint,4,opt,name=ignore" json:"ignore,omitempty"` Name *string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Oneof) Descriptor
deprecated
func (*Oneof) ProtoMessage ¶
func (*Oneof) ProtoMessage()
func (*Oneof) ProtoReflect ¶
func (x *Oneof) ProtoReflect() protoreflect.Message
type Rpc ¶
type Rpc struct { Type *Type `protobuf:"varint,1,opt,name=type,enum=danielvladco.protobuf.graphql.Type" json:"type,omitempty"` Ignore *bool `protobuf:"varint,2,opt,name=ignore" json:"ignore,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Rpc) Descriptor
deprecated
func (*Rpc) ProtoMessage ¶
func (*Rpc) ProtoMessage()
func (*Rpc) ProtoReflect ¶
func (x *Rpc) ProtoReflect() protoreflect.Message
type Svc ¶
type Svc struct { Type *Type `protobuf:"varint,1,opt,name=type,enum=danielvladco.protobuf.graphql.Type" json:"type,omitempty"` Ignore *bool `protobuf:"varint,2,opt,name=ignore" json:"ignore,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` Upstream *Upstream `protobuf:"varint,4,opt,name=upstream,enum=danielvladco.protobuf.graphql.Upstream" json:"upstream,omitempty"` // contains filtered or unexported fields }
func (*Svc) Descriptor
deprecated
func (*Svc) GetUpstream ¶
func (*Svc) ProtoMessage ¶
func (*Svc) ProtoMessage()
func (*Svc) ProtoReflect ¶
func (x *Svc) ProtoReflect() protoreflect.Message
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
func (*Type) UnmarshalJSON
deprecated
type Upstream ¶
type Upstream int32
func (Upstream) Descriptor ¶
func (Upstream) Descriptor() protoreflect.EnumDescriptor
func (Upstream) EnumDescriptor
deprecated
func (Upstream) Number ¶
func (x Upstream) Number() protoreflect.EnumNumber
func (Upstream) Type ¶
func (Upstream) Type() protoreflect.EnumType
func (*Upstream) UnmarshalJSON
deprecated
Click to show internal directories.
Click to hide internal directories.