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

Method GetApplicationByToken

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

Source from the content-addressed store, hash-verified

19type ApplicationDatabase interface {
20 CreateApplication(application *model.Application) error
21 GetApplicationByToken(token string) (*model.Application, error)
22 GetApplicationByID(id uint) (*model.Application, error)
23 GetApplicationsByUser(userID uint) ([]*model.Application, error)
24 DeleteApplicationByID(id uint) error

Callers 1

applicationExistsMethod · 0.65

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by

no test coverage detected