Documentation ¶
Index ¶
- Variables
- type AudioPacket
- func (*AudioPacket) Descriptor() ([]byte, []int)
- func (m *AudioPacket) GetAudioData() []byte
- func (m *AudioPacket) GetQn() uint32
- func (m *AudioPacket) GetTimestamp() int64
- func (m *AudioPacket) GetTopicID() uint32
- func (m *AudioPacket) GetUserID() uint32
- func (m *AudioPacket) Marshal() (dAtA []byte, err error)
- func (m *AudioPacket) MarshalTo(dAtA []byte) (int, error)
- func (*AudioPacket) ProtoMessage()
- func (m *AudioPacket) Reset()
- func (m *AudioPacket) Size() (n int)
- func (m *AudioPacket) String() string
- func (m *AudioPacket) Unmarshal(dAtA []byte) error
- func (m *AudioPacket) XXX_DiscardUnknown()
- func (m *AudioPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AudioPacket) XXX_Merge(src proto.Message)
- func (m *AudioPacket) XXX_Size() int
- func (m *AudioPacket) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAudioPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAudioPacket = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type AudioPacket ¶
type AudioPacket struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Qn uint32 `protobuf:"varint,2,opt,name=qn,proto3" json:"qn,omitempty"` TopicID uint32 `protobuf:"varint,3,opt,name=topicID,proto3" json:"topicID,omitempty"` UserID uint32 `protobuf:"varint,4,opt,name=userID,proto3" json:"userID,omitempty"` AudioData []byte `protobuf:"bytes,5,opt,name=audioData,proto3" json:"audioData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AudioPacket) Descriptor ¶
func (*AudioPacket) Descriptor() ([]byte, []int)
func (*AudioPacket) GetAudioData ¶
func (m *AudioPacket) GetAudioData() []byte
func (*AudioPacket) GetQn ¶
func (m *AudioPacket) GetQn() uint32
func (*AudioPacket) GetTimestamp ¶
func (m *AudioPacket) GetTimestamp() int64
func (*AudioPacket) GetTopicID ¶
func (m *AudioPacket) GetTopicID() uint32
func (*AudioPacket) GetUserID ¶
func (m *AudioPacket) GetUserID() uint32
func (*AudioPacket) Marshal ¶
func (m *AudioPacket) Marshal() (dAtA []byte, err error)
func (*AudioPacket) ProtoMessage ¶
func (*AudioPacket) ProtoMessage()
func (*AudioPacket) Reset ¶
func (m *AudioPacket) Reset()
func (*AudioPacket) Size ¶
func (m *AudioPacket) Size() (n int)
func (*AudioPacket) String ¶
func (m *AudioPacket) String() string
func (*AudioPacket) Unmarshal ¶
func (m *AudioPacket) Unmarshal(dAtA []byte) error
func (*AudioPacket) XXX_DiscardUnknown ¶
func (m *AudioPacket) XXX_DiscardUnknown()
func (*AudioPacket) XXX_Marshal ¶
func (m *AudioPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AudioPacket) XXX_Merge ¶
func (m *AudioPacket) XXX_Merge(src proto.Message)
func (*AudioPacket) XXX_Size ¶
func (m *AudioPacket) XXX_Size() int
func (*AudioPacket) XXX_Unmarshal ¶
func (m *AudioPacket) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.