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

Method appWithToken

test/testdb/database.go:89–92  ·  view source on GitHub ↗
(id uint, token string, internal bool)

Source from the content-addressed store, hash-verified

87}
88
89func (ab *AppClientBuilder) appWithToken(id uint, token string, internal bool) *MessageBuilder {
90 ab.newAppWithToken(id, token, internal)
91 return &MessageBuilder{db: ab.db, appID: id}
92}
93
94// NewAppWithToken creates an application with a token and returns the app.
95func (ab *AppClientBuilder) NewAppWithToken(id uint, token string) *model.Application {

Callers 3

appMethod · 0.95
AppWithTokenMethod · 0.95
InternalAppWithTokenMethod · 0.95

Calls 1

newAppWithTokenMethod · 0.95

Tested by

no test coverage detected