MCPcopy Index your code
hub / github.com/gotify/server / register

Method register

api/stream/stream.go:106–110  ·  view source on GitHub ↗
(client *client)

Source from the content-addressed store, hash-verified

104}
105
106func (a *API) register(client *client) {
107 a.lock.Lock()
108 defer a.lock.Unlock()
109 a.clients[client.userID] = append(a.clients[client.userID], client)
110}
111
112// Handle handles incoming requests. First it upgrades the protocol to the WebSocket protocol and then starts listening
113// for read and writes.

Callers 1

HandleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected