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

Method InternalAppWithTokenAndName

test/testdb/database.go:116–118  ·  view source on GitHub ↗

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

(id uint, token, name string)

Source from the content-addressed store, hash-verified

114
115// InternalAppWithTokenAndName creates an internal application with a token and name and returns a message builder.
116func (ab *AppClientBuilder) InternalAppWithTokenAndName(id uint, token, name string) *MessageBuilder {
117 return ab.appWithTokenAndName(id, token, name, true)
118}
119
120func (ab *AppClientBuilder) appWithTokenAndName(id uint, token, name string, internal bool) *MessageBuilder {
121 ab.newAppWithTokenAndName(id, token, name, internal)

Callers 1

Test_AppsMethod · 0.80

Calls 1

appWithTokenAndNameMethod · 0.95

Tested by 1

Test_AppsMethod · 0.64