MCPcopy
hub / github.com/gotify/server / clients

Function clients

api/stream/stream_test.go:507–512  ·  view source on GitHub ↗
(api *API, user uint)

Source from the content-addressed store, hash-verified

505}
506
507func clients(api *API, user uint) []*client {
508 api.lock.RLock()
509 defer api.lock.RUnlock()
510
511 return api.clients[user]
512}
513
514func countClients(a *API) int {
515 a.lock.RLock()

Callers 3

TestWriteMessageFailsFunction · 0.85
TestWritePingFailsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…