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

Method InternalApp

test/testdb/database.go:71–73  ·  view source on GitHub ↗

InternalApp creates an internal application and returns a message builder.

(id uint)

Source from the content-addressed store, hash-verified

69
70// InternalApp creates an internal application and returns a message builder.
71func (ab *AppClientBuilder) InternalApp(id uint) *MessageBuilder {
72 return ab.app(id, true)
73}
74
75func (ab *AppClientBuilder) app(id uint, internal bool) *MessageBuilder {
76 return ab.appWithToken(id, "app"+fmt.Sprint(id), internal)

Calls 1

appMethod · 0.95

Tested by 2

Test_AppsMethod · 0.64