options

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_Rpc = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*RPC)(nil),
	Field:         1070,
	Name:          "twirpql.options.rpc",
	Tag:           "bytes,1070,opt,name=rpc",
	Filename:      "options.proto",
}
View Source
var E_Schema = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FileOptions)(nil),
	ExtensionType: (*Schema)(nil),
	Field:         1070,
	Name:          "twirpql.options.schema",
	Tag:           "bytes,1070,opt,name=schema",
	Filename:      "options.proto",
}

Functions

This section is empty.

Types

type RPC

type RPC struct {
	Mutation             bool     `protobuf:"varint,1,opt,name=mutation,proto3" json:"mutation,omitempty"`
	Skip                 bool     `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"`
	RespondsWith         []string `protobuf:"bytes,3,rep,name=respondsWith,proto3" json:"respondsWith,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RPC) Descriptor

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

func (*RPC) GetMutation

func (m *RPC) GetMutation() bool

func (*RPC) GetRespondsWith

func (m *RPC) GetRespondsWith() []string

func (*RPC) GetSkip

func (m *RPC) GetSkip() bool

func (*RPC) ProtoMessage

func (*RPC) ProtoMessage()

func (*RPC) Reset

func (m *RPC) Reset()

func (*RPC) String

func (m *RPC) String() string

func (*RPC) XXX_DiscardUnknown

func (m *RPC) XXX_DiscardUnknown()

func (*RPC) XXX_Marshal

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

func (*RPC) XXX_Merge

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

func (*RPC) XXX_Size

func (m *RPC) XXX_Size() int

func (*RPC) XXX_Unmarshal

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

type Schema

type Schema struct {
	Federated            bool     `protobuf:"varint,1,opt,name=federated,proto3" json:"federated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Schema) Descriptor

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

func (*Schema) GetFederated

func (m *Schema) GetFederated() bool

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_Size

func (m *Schema) XXX_Size() int

func (*Schema) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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