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

Method InternalAppWithToken

test/testdb/database.go:85–87  ·  view source on GitHub ↗

InternalAppWithToken creates an internal application with a token and returns a message builder.

(id uint, token string)

Source from the content-addressed store, hash-verified

83
84// InternalAppWithToken creates an internal application with a token and returns a message builder.
85func (ab *AppClientBuilder) InternalAppWithToken(id uint, token string) *MessageBuilder {
86 return ab.appWithToken(id, token, true)
87}
88
89func (ab *AppClientBuilder) appWithToken(id uint, token string, internal bool) *MessageBuilder {
90 ab.newAppWithToken(id, token, internal)

Callers 1

Test_AppsMethod · 0.80

Calls 1

appWithTokenMethod · 0.95

Tested by 1

Test_AppsMethod · 0.64