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

Method AppWithToken

test/testdb/database.go:80–82  ·  view source on GitHub ↗

AppWithToken creates an application with a token and returns a message builder.

(id uint, token string)

Source from the content-addressed store, hash-verified

78
79// AppWithToken creates an application with a token and returns a message builder.
80func (ab *AppClientBuilder) AppWithToken(id uint, token string) *MessageBuilder {
81 return ab.appWithToken(id, token, false)
82}
83
84// InternalAppWithToken creates an internal application with a token and returns a message builder.
85func (ab *AppClientBuilder) InternalAppWithToken(id uint, token string) *MessageBuilder {

Calls 1

appWithTokenMethod · 0.95