Documentation ¶
Index ¶
- Variables
- type CsEndFrame
- type CsMove
- func (*CsMove) Descriptor() ([]byte, []int)deprecated
- func (x *CsMove) GetFromX() float32
- func (x *CsMove) GetFromY() float32
- func (x *CsMove) GetFromZ() float32
- func (x *CsMove) GetSpeed() float32
- func (x *CsMove) GetToX() float32
- func (x *CsMove) GetToY() float32
- func (x *CsMove) GetToZ() float32
- func (*CsMove) ProtoMessage()
- func (x *CsMove) ProtoReflect() protoreflect.Message
- func (x *CsMove) Reset()
- func (x *CsMove) String() string
- type CsStartFrame
- type Hello
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CsEndFrame ¶
type CsEndFrame struct {
// contains filtered or unexported fields
}
func (*CsEndFrame) Descriptor
deprecated
func (*CsEndFrame) Descriptor() ([]byte, []int)
Deprecated: Use CsEndFrame.ProtoReflect.Descriptor instead.
func (*CsEndFrame) ProtoMessage ¶
func (*CsEndFrame) ProtoMessage()
func (*CsEndFrame) ProtoReflect ¶
func (x *CsEndFrame) ProtoReflect() protoreflect.Message
func (*CsEndFrame) Reset ¶
func (x *CsEndFrame) Reset()
func (*CsEndFrame) String ¶
func (x *CsEndFrame) String() string
type CsMove ¶
type CsMove struct { FromX float32 `protobuf:"fixed32,1,opt,name=fromX,proto3" json:"fromX,omitempty"` FromY float32 `protobuf:"fixed32,2,opt,name=fromY,proto3" json:"fromY,omitempty"` FromZ float32 `protobuf:"fixed32,3,opt,name=fromZ,proto3" json:"fromZ,omitempty"` ToX float32 `protobuf:"fixed32,4,opt,name=toX,proto3" json:"toX,omitempty"` ToY float32 `protobuf:"fixed32,5,opt,name=toY,proto3" json:"toY,omitempty"` ToZ float32 `protobuf:"fixed32,6,opt,name=toZ,proto3" json:"toZ,omitempty"` Speed float32 `protobuf:"fixed32,7,opt,name=speed,proto3" json:"speed,omitempty"` // contains filtered or unexported fields }
移动
func (*CsMove) Descriptor
deprecated
func (*CsMove) ProtoMessage ¶
func (*CsMove) ProtoMessage()
func (*CsMove) ProtoReflect ¶
func (x *CsMove) ProtoReflect() protoreflect.Message
type CsStartFrame ¶
type CsStartFrame struct {
// contains filtered or unexported fields
}
func (*CsStartFrame) Descriptor
deprecated
func (*CsStartFrame) Descriptor() ([]byte, []int)
Deprecated: Use CsStartFrame.ProtoReflect.Descriptor instead.
func (*CsStartFrame) ProtoMessage ¶
func (*CsStartFrame) ProtoMessage()
func (*CsStartFrame) ProtoReflect ¶
func (x *CsStartFrame) ProtoReflect() protoreflect.Message
func (*CsStartFrame) Reset ¶
func (x *CsStartFrame) Reset()
func (*CsStartFrame) String ¶
func (x *CsStartFrame) String() string
type Hello ¶
type Hello struct { Hello string `protobuf:"bytes,1,opt,name=hello,proto3" json:"hello,omitempty"` // contains filtered or unexported fields }
protoc --go_out=. *.proto
func (*Hello) Descriptor
deprecated
func (*Hello) ProtoMessage ¶
func (*Hello) ProtoMessage()
func (*Hello) ProtoReflect ¶
func (x *Hello) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.