user_audioroom.go 269 B

123456789101112
  1. package gatesink
  2. import (
  3. audioroom "bet24.com/servers/micros/audioroom/proto"
  4. )
  5. // 处理语音房指令
  6. func (this *user) onAudioRoomMsg(msg, data string) {
  7. jsonData := audioroom.OnAudioRoomMsg(this.getUserId(), msg, data)
  8. this.WriteMsg(msg, jsonData)
  9. return
  10. }