MCPcopy Index your code
hub / github.com/gotify/server / CreateApplication

Method CreateApplication

api/application.go:20–20  ·  view source on GitHub ↗
(application *model.Application)

Source from the content-addressed store, hash-verified

18// The ApplicationDatabase interface for encapsulating database access.
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)

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls