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

Method removeSession

modules/clibridge/clibridge.go:88–92  ·  view source on GitHub ↗
(connId connections.ConnectionId)

Source from the content-addressed store, hash-verified

86}
87
88func (m *CLIBridgeModule) removeSession(connId connections.ConnectionId) {
89 m.mu.Lock()
90 defer m.mu.Unlock()
91 delete(m.sessions, connId)
92}
93
94func (m *CLIBridgeModule) isEnabled() bool {
95 v := m.plug.Config.Get(`Enabled`)

Callers 1

waitForExitMethod · 0.95

Calls 3

deleteFunction · 0.85
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected