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

Method AppWithTokenAndName

test/testdb/database.go:111–113  ·  view source on GitHub ↗

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

(id uint, token, name string)

Source from the content-addressed store, hash-verified

109
110// AppWithTokenAndName creates an application with a token and name and returns a message builder.
111func (ab *AppClientBuilder) AppWithTokenAndName(id uint, token, name string) *MessageBuilder {
112 return ab.appWithTokenAndName(id, token, name, false)
113}
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 {

Calls 1

appWithTokenAndNameMethod · 0.95