MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / logOutUserByConnectionId

Method logOutUserByConnectionId

world.go:277–282  ·  view source on GitHub ↗
(connectionId connections.ConnectionId)

Source from the content-addressed store, hash-verified

275}
276
277func (w *World) logOutUserByConnectionId(connectionId connections.ConnectionId) {
278
279 if err := users.LogOutUserByConnectionId(connectionId); err != nil {
280 mudlog.Error("Log Out Error", "connectionId", connectionId, "error", err)
281 }
282}
283
284func (w *World) enterWorld(userId int, roomId int) {
285

Callers 1

MainWorkerMethod · 0.95

Calls 2

LogOutUserByConnectionIdFunction · 0.92
ErrorFunction · 0.92

Tested by

no test coverage detected