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

Method GetClientByToken

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

Source from the content-addressed store, hash-verified

12type ClientDatabase interface {
13 CreateClient(client *model.Client) error
14 GetClientByToken(token string) (*model.Client, error)
15 GetClientByID(id uint) (*model.Client, error)
16 GetClientsByUser(userID uint) ([]*model.Client, error)
17 DeleteClientByID(id uint) error

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls