Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetFlag() Message_Flag
- func (m *Message) GetMessage() []byte
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_Flag
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") )
View Source
var Message_Flag_name = map[int32]string{
0: "FIN",
1: "STOP_SENDING",
2: "RESET",
}
View Source
var Message_Flag_value = map[string]int32{
"FIN": 0,
"STOP_SENDING": 1,
"RESET": 2,
}
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Flag *Message_Flag `protobuf:"varint,1,opt,name=flag,enum=webrtc.pb.Message_Flag" json:"flag,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetFlag ¶
func (m *Message) GetFlag() Message_Flag
func (*Message) GetMessage ¶
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type Message_Flag ¶
type Message_Flag int32
const ( // The sender will no longer send messages on the stream. Message_FIN Message_Flag = 0 // The sender will no longer read messages on the stream. Incoming data is // being discarded on receipt. Message_STOP_SENDING Message_Flag = 1 // The sender abruptly terminates the sending part of the stream. The // receiver can discard any data that it already received on that stream. Message_RESET Message_Flag = 2 )
func (Message_Flag) Enum ¶
func (x Message_Flag) Enum() *Message_Flag
func (Message_Flag) EnumDescriptor ¶
func (Message_Flag) EnumDescriptor() ([]byte, []int)
func (Message_Flag) String ¶
func (x Message_Flag) String() string
func (*Message_Flag) UnmarshalJSON ¶
func (x *Message_Flag) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.