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

Method appWithTokenAndName

test/testdb/database.go:120–123  ·  view source on GitHub ↗
(id uint, token, name string, internal bool)

Source from the content-addressed store, hash-verified

118}
119
120func (ab *AppClientBuilder) appWithTokenAndName(id uint, token, name string, internal bool) *MessageBuilder {
121 ab.newAppWithTokenAndName(id, token, name, internal)
122 return &MessageBuilder{db: ab.db, appID: id}
123}
124
125// NewAppWithTokenAndName creates an application with a token and name and returns the app.
126func (ab *AppClientBuilder) NewAppWithTokenAndName(id uint, token, name string) *model.Application {

Callers 2

AppWithTokenAndNameMethod · 0.95

Calls 1

Tested by

no test coverage detected