voicechat 옮김
This commit is contained in:
@ -123,13 +123,6 @@ func (tv *Tavern) prepare(ctx context.Context) error {
|
|||||||
tv.httpApiBorker.AddHandler(gocommon.MakeHttpApiHandler(instant, "instant"))
|
tv.httpApiBorker.AddHandler(gocommon.MakeHttpApiHandler(instant, "instant"))
|
||||||
tv.wsh.AddHandler(wshandler.MakeWebsocketApiHandler(instant, "instant"))
|
tv.wsh.AddHandler(wshandler.MakeWebsocketApiHandler(instant, "instant"))
|
||||||
|
|
||||||
voice := new(groupVoice)
|
|
||||||
if err := voice.Initialize(tv, ctx); err != nil {
|
|
||||||
return logger.ErrorWithCallStack(err)
|
|
||||||
}
|
|
||||||
tv.httpApiBorker.AddHandler(gocommon.MakeHttpApiHandler(voice, "voice"))
|
|
||||||
tv.wsh.AddHandler(wshandler.MakeWebsocketApiHandler(voice, "voice"))
|
|
||||||
|
|
||||||
ccu = metric.NewMetric(metric.MetricGuage, "concurrent_user", "concurrent user count", map[string]string{"game": "lobby"})
|
ccu = metric.NewMetric(metric.MetricGuage, "concurrent_user", "concurrent user count", map[string]string{"game": "lobby"})
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user