Documentation
¶
Index ¶
- Variables
- type BBMeshMessage
- func (*BBMeshMessage) Descriptor() ([]byte, []int)deprecated
- func (m *BBMeshMessage) GetContent() isBBMeshMessage_Content
- func (x *BBMeshMessage) GetPing() *Ping
- func (x *BBMeshMessage) GetPong() *Pong
- func (*BBMeshMessage) ProtoMessage()
- func (x *BBMeshMessage) ProtoReflect() protoreflect.Message
- func (x *BBMeshMessage) Reset()
- func (x *BBMeshMessage) String() string
- type BBMeshMessage_Ping
- type BBMeshMessage_Pong
- type Ping
- type Pong
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_bbmesh_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BBMeshMessage ¶
type BBMeshMessage struct {
// Types that are assignable to Content:
//
// *BBMeshMessage_Ping
// *BBMeshMessage_Pong
Content isBBMeshMessage_Content `protobuf_oneof:"content"`
// contains filtered or unexported fields
}
func (*BBMeshMessage) Descriptor
deprecated
func (*BBMeshMessage) Descriptor() ([]byte, []int)
Deprecated: Use BBMeshMessage.ProtoReflect.Descriptor instead.
func (*BBMeshMessage) GetContent ¶
func (m *BBMeshMessage) GetContent() isBBMeshMessage_Content
func (*BBMeshMessage) GetPing ¶
func (x *BBMeshMessage) GetPing() *Ping
func (*BBMeshMessage) GetPong ¶
func (x *BBMeshMessage) GetPong() *Pong
func (*BBMeshMessage) ProtoMessage ¶
func (*BBMeshMessage) ProtoMessage()
func (*BBMeshMessage) ProtoReflect ¶
func (x *BBMeshMessage) ProtoReflect() protoreflect.Message
func (*BBMeshMessage) Reset ¶
func (x *BBMeshMessage) Reset()
func (*BBMeshMessage) String ¶
func (x *BBMeshMessage) String() string
type BBMeshMessage_Ping ¶
type BBMeshMessage_Ping struct {
Ping *Ping `protobuf:"bytes,1,opt,name=ping,proto3,oneof"`
}
type BBMeshMessage_Pong ¶
type BBMeshMessage_Pong struct {
Pong *Pong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type Ping ¶
type Ping struct {
Timestamp uint32 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*Ping) Descriptor
deprecated
func (*Ping) GetTimestamp ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type Pong ¶
type Pong struct {
Timestamp uint32 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*Pong) Descriptor
deprecated
func (*Pong) GetTimestamp ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.