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

Method ClientWithToken

test/testdb/database.go:154–157  ·  view source on GitHub ↗

ClientWithToken creates a client with a token and returns itself.

(id uint, token string)

Source from the content-addressed store, hash-verified

152
153// ClientWithToken creates a client with a token and returns itself.
154func (ab *AppClientBuilder) ClientWithToken(id uint, token string) *AppClientBuilder {
155 ab.NewClientWithToken(id, token)
156 return ab
157}
158
159// NewClientWithToken creates a client with a token and returns the client.
160func (ab *AppClientBuilder) NewClientWithToken(id uint, token string) *model.Client {

Callers 2

ClientMethod · 0.95

Calls 1

NewClientWithTokenMethod · 0.95

Tested by 1