Documentation ¶
Index ¶
- Variables
- type Call
- func (*Call) Descriptor() ([]byte, []int)deprecated
- func (x *Call) GetArgument() []byte
- func (x *Call) GetHeaders() map[string][]byte
- func (x *Call) GetId() uint64
- func (x *Call) GetKind() Call_Kind
- func (x *Call) GetMethod() string
- func (x *Call) GetParentId() uint64
- func (*Call) ProtoMessage()
- func (x *Call) ProtoReflect() protoreflect.Message
- func (x *Call) Reset()
- func (x *Call) String() string
- type Call_Kind
- type Cancel
- type Close
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) Error() string
- func (x *Error) ErrorCode() int32
- func (x *Error) GetCode() int32
- func (x *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type Undefined
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Call_Kind_name = map[int32]string{ 0: "CALL_KIND_DEFAULT", 1: "CALL_KIND_ERROR", 2: "CALL_KIND_CANCEL", 3: "CALL_KIND_CLOSE", 4: "CALL_KIND_UNDEFINED", } Call_Kind_value = map[string]int32{ "CALL_KIND_DEFAULT": 0, "CALL_KIND_ERROR": 1, "CALL_KIND_CANCEL": 2, "CALL_KIND_CLOSE": 3, "CALL_KIND_UNDEFINED": 4, } )
Enum value maps for Call_Kind.
View Source
var File_rpc_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` Kind Call_Kind `protobuf:"varint,4,opt,name=kind,proto3,enum=strims.rpc.Call_Kind" json:"kind,omitempty"` Argument []byte `protobuf:"bytes,5,opt,name=argument,proto3" json:"argument,omitempty"` Headers map[string][]byte `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Call) Descriptor
deprecated
func (*Call) GetArgument ¶
func (*Call) GetHeaders ¶
func (*Call) GetParentId ¶
func (*Call) ProtoMessage ¶
func (*Call) ProtoMessage()
func (*Call) ProtoReflect ¶
func (x *Call) ProtoReflect() protoreflect.Message
type Call_Kind ¶ added in v0.2.0
type Call_Kind int32
func (Call_Kind) Descriptor ¶ added in v0.2.0
func (Call_Kind) Descriptor() protoreflect.EnumDescriptor
func (Call_Kind) EnumDescriptor
deprecated
added in
v0.2.0
func (Call_Kind) Number ¶ added in v0.2.0
func (x Call_Kind) Number() protoreflect.EnumNumber
func (Call_Kind) Type ¶ added in v0.2.0
func (Call_Kind) Type() protoreflect.EnumType
type Cancel ¶
type Cancel struct {
// contains filtered or unexported fields
}
func (*Cancel) Descriptor
deprecated
func (*Cancel) ProtoMessage ¶
func (*Cancel) ProtoMessage()
func (*Cancel) ProtoReflect ¶
func (x *Cancel) ProtoReflect() protoreflect.Message
type Close ¶
type Close struct {
// contains filtered or unexported fields
}
func (*Close) Descriptor
deprecated
func (*Close) ProtoMessage ¶
func (*Close) ProtoMessage()
func (*Close) ProtoReflect ¶
func (x *Close) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Undefined ¶
type Undefined struct {
// contains filtered or unexported fields
}
func (*Undefined) Descriptor
deprecated
func (*Undefined) ProtoMessage ¶
func (*Undefined) ProtoMessage()
func (*Undefined) ProtoReflect ¶
func (x *Undefined) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.