disconnect 시그니쳐 수정
This commit is contained in:
@ -95,7 +95,7 @@ func (cs *connections) ClientConnected(conn *websocket.Conn, callby *wshandler.S
|
||||
cs.new(callby.Accid, conn)
|
||||
}
|
||||
|
||||
func (cs *connections) ClientDisconnected(conn *websocket.Conn, callby *wshandler.Sender) {
|
||||
func (cs *connections) ClientDisconnected(msg string, callby *wshandler.Sender) {
|
||||
cs.delete(callby.Accid)
|
||||
}
|
||||
|
||||
|
||||
@ -196,7 +196,7 @@ func makeFriends(ctx context.Context, so *Social, conns *connections) (*friends,
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (fs *friends) ClientDisconnected(conn *websocket.Conn, callby *wshandler.Sender) {
|
||||
func (fs *friends) ClientDisconnected(msg string, callby *wshandler.Sender) {
|
||||
// 로그 오프 상태를 알림
|
||||
meidx := callby.Accid[11] % monitoring_center_count
|
||||
fs.moncen[meidx].publishState(callby.Accid, "")
|
||||
|
||||
Reference in New Issue
Block a user