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

Method GetApplicationByToken

auth/authentication.go:19–19  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

17// The Database interface for encapsulating database access.
18type Database interface {
19 GetApplicationByToken(token string) (*model.Application, error)
20 GetClientByToken(token string) (*model.Client, error)
21 GetPluginConfByToken(token string) (*model.PluginConf, error)
22 GetUserByName(name string) (*model.User, error)

Callers 1

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by

no test coverage detected