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

Method clientExists

api/client.go:238–241  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

236}
237
238func (a *ClientAPI) clientExists(token string) bool {
239 client, _ := a.DB.GetClientByToken(token)
240 return client != nil
241}

Callers

nothing calls this directly

Calls 1

GetClientByTokenMethod · 0.65

Tested by

no test coverage detected