Documentation ¶
Index ¶
- Variables
- type Begin
- type Call
- type Data
- type End
- type Metadata
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetCall() *Call
- func (x *Request) GetData() *Data
- func (x *Request) GetEnd() *End
- func (m *Request) GetType() isRequest_Type
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_Call
- type Request_Data
- type Request_End
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetBegin() *Begin
- func (x *Response) GetData() *Data
- func (x *Response) GetEnd() *End
- func (m *Response) GetType() isResponse_Type
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_Begin
- type Response_Data
- type Response_End
- type Strings
Constants ¶
This section is empty.
Variables ¶
View Source
var File_nrpc_nrpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Begin ¶
type Begin struct { Header *Metadata `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Nid string `protobuf:"bytes,2,opt,name=nid,proto3" json:"nid,omitempty"` // contains filtered or unexported fields }
func (*Begin) Descriptor
deprecated
func (*Begin) ProtoMessage ¶
func (*Begin) ProtoMessage()
func (*Begin) ProtoReflect ¶
func (x *Begin) ProtoReflect() protoreflect.Message
type Call ¶
type Call struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Nid string `protobuf:"bytes,3,opt,name=nid,proto3" json:"nid,omitempty"` // contains filtered or unexported fields }
func (*Call) Descriptor
deprecated
func (*Call) GetMetadata ¶
func (*Call) ProtoMessage ¶
func (*Call) ProtoMessage()
func (*Call) ProtoReflect ¶
func (x *Call) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type End ¶
type End struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Trailer *Metadata `protobuf:"bytes,2,opt,name=trailer,proto3" json:"trailer,omitempty"` // contains filtered or unexported fields }
func (*End) Descriptor
deprecated
func (*End) GetTrailer ¶
func (*End) ProtoMessage ¶
func (*End) ProtoMessage()
func (*End) ProtoReflect ¶
func (x *End) ProtoReflect() protoreflect.Message
type Metadata ¶
type Metadata struct { Md map[string]*Strings `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { // Types that are assignable to Type: // *Request_Call // *Request_Data // *Request_End Type isRequest_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Call ¶
type Request_Call struct {
Call *Call `protobuf:"bytes,2,opt,name=call,proto3,oneof"`
}
type Request_Data ¶
type Request_Data struct {
Data *Data `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}
type Request_End ¶
type Request_End struct {
End *End `protobuf:"bytes,4,opt,name=end,proto3,oneof"`
}
type Response ¶
type Response struct { // Types that are assignable to Type: // *Response_Begin // *Response_Data // *Response_End Type isResponse_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Response_Begin ¶
type Response_Begin struct {
Begin *Begin `protobuf:"bytes,2,opt,name=begin,proto3,oneof"`
}
type Response_Data ¶
type Response_Data struct {
Data *Data `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}
type Response_End ¶
type Response_End struct {
End *End `protobuf:"bytes,4,opt,name=end,proto3,oneof"`
}
type Strings ¶
type Strings struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*Strings) Descriptor
deprecated
func (*Strings) ProtoMessage ¶
func (*Strings) ProtoMessage()
func (*Strings) ProtoReflect ¶
func (x *Strings) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.