Documentation
¶
Index ¶
- Variables
- type Command
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetAttrs() *structpb.Struct
- func (x *Response) GetErr() string
- func (x *Response) GetVBytes() []byte
- func (x *Response) GetVFloat() float64
- func (x *Response) GetVInt() int64
- func (x *Response) GetVList() []*structpb.Value
- func (x *Response) GetVNil() bool
- func (x *Response) GetVSsMap() map[string]string
- func (x *Response) GetVStr() string
- func (m *Response) GetValue() isResponse_Value
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_VBytes
- type Response_VFloat
- type Response_VInt
- type Response_VNil
- type Response_VStr
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protos_cmd_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
func (*Command) Descriptor
deprecated
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
// Types that are assignable to Value:
//
// *Response_VNil
// *Response_VInt
// *Response_VStr
// *Response_VFloat
// *Response_VBytes
Value isResponse_Value `protobuf_oneof:"value"`
Attrs *structpb.Struct `protobuf:"bytes,7,opt,name=attrs,proto3" json:"attrs,omitempty"`
VList []*structpb.Value `protobuf:"bytes,8,rep,name=v_list,json=vList,proto3" json:"v_list,omitempty"`
VSsMap map[string]string `` /* 169-byte string literal not displayed */
// 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_VBytes ¶
type Response_VBytes struct {
VBytes []byte `protobuf:"bytes,6,opt,name=v_bytes,json=vBytes,proto3,oneof"`
}
type Response_VFloat ¶
type Response_VFloat struct {
VFloat float64 `protobuf:"fixed64,5,opt,name=v_float,json=vFloat,proto3,oneof"`
}
type Response_VInt ¶
type Response_VInt struct {
VInt int64 `protobuf:"varint,3,opt,name=v_int,json=vInt,proto3,oneof"`
}
type Response_VNil ¶
type Response_VNil struct {
VNil bool `protobuf:"varint,2,opt,name=v_nil,json=vNil,proto3,oneof"`
}
type Response_VStr ¶
type Response_VStr struct {
VStr string `protobuf:"bytes,4,opt,name=v_str,json=vStr,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.