graphql

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (
	// optional danielvladco.protobuf.graphql.Field field = 65030;
	E_Field = &file_pb_graphql_proto_extTypes[2]
)

Extension fields to descriptor.FieldOptions.

View Source
var (
	// optional danielvladco.protobuf.graphql.Rpc rpc = 65030;
	E_Rpc = &file_pb_graphql_proto_extTypes[0]
)

Extension fields to descriptor.MethodOptions.

View Source
var (
	// optional danielvladco.protobuf.graphql.Svc svc = 65030;
	E_Svc = &file_pb_graphql_proto_extTypes[1]
)

Extension fields to descriptor.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) Descriptor() ([]byte, []int)

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetDirs

func (x *Field) GetDirs() string

func (*Field) GetIgnore

func (x *Field) GetIgnore() bool

func (*Field) GetName

func (x *Field) GetName() string

func (*Field) GetParams

func (x *Field) GetParams() string

func (*Field) GetRequired

func (x *Field) GetRequired() bool

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

func (x *Field) ProtoReflect() protoreflect.Message

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

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

Deprecated: Use Rpc.ProtoReflect.Descriptor instead.

func (*Rpc) GetIgnore

func (x *Rpc) GetIgnore() bool

func (*Rpc) GetName

func (x *Rpc) GetName() string

func (*Rpc) GetType

func (x *Rpc) GetType() Type

func (*Rpc) ProtoMessage

func (*Rpc) ProtoMessage()

func (*Rpc) ProtoReflect

func (x *Rpc) ProtoReflect() protoreflect.Message

func (*Rpc) Reset

func (x *Rpc) Reset()

func (*Rpc) String

func (x *Rpc) String() string

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"`
	// contains filtered or unexported fields
}

func (*Svc) Descriptor deprecated

func (*Svc) Descriptor() ([]byte, []int)

Deprecated: Use Svc.ProtoReflect.Descriptor instead.

func (*Svc) GetIgnore

func (x *Svc) GetIgnore() bool

func (*Svc) GetName

func (x *Svc) GetName() string

func (*Svc) GetType

func (x *Svc) GetType() Type

func (*Svc) ProtoMessage

func (*Svc) ProtoMessage()

func (*Svc) ProtoReflect

func (x *Svc) ProtoReflect() protoreflect.Message

func (*Svc) Reset

func (x *Svc) Reset()

func (*Svc) String

func (x *Svc) String() string

type Type

type Type int32
const (
	Type_DEFAULT  Type = 0
	Type_MUTATION Type = 1
	Type_QUERY    Type = 2
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

func (*Type) UnmarshalJSON deprecated

func (x *Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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