Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Marshal ¶
func Marshal(channelMsg *ChannelMsg) ([]byte, error)
func MuteMarshal ¶
func SdpMarshal ¶
Types ¶
type ChannelMsg ¶
type ChannelMsg struct { Id uint32 `json:"id"` Data interface{} `json:"data"` Type MsgType `json:"type"` }
func Unmarshal ¶
func Unmarshal(rawChannelMsg []byte) (*ChannelMsg, error)
type Mute ¶
func MuteUnmarshal ¶
Click to show internal directories.
Click to hide internal directories.