wire

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 6 Imported by: 4

Documentation

Index

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetArgs

func (x *Command) GetArgs() []string

func (*Command) GetCmd

func (x *Command) GetCmd() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type Response

type Response struct {
	Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	// Types that are valid to be assigned 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"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetAttrs

func (x *Response) GetAttrs() *structpb.Struct

func (*Response) GetErr

func (x *Response) GetErr() string

func (*Response) GetVBytes

func (x *Response) GetVBytes() []byte

func (*Response) GetVFloat

func (x *Response) GetVFloat() float64

func (*Response) GetVInt

func (x *Response) GetVInt() int64

func (*Response) GetVList

func (x *Response) GetVList() []*structpb.Value

func (*Response) GetVNil

func (x *Response) GetVNil() bool

func (*Response) GetVStr

func (x *Response) GetVStr() string

func (*Response) GetValue

func (x *Response) GetValue() isResponse_Value

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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"`
}

Jump to

Keyboard shortcuts

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