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

Method Client

test/testdb/database.go:149–151  ·  view source on GitHub ↗

Client creates a client and returns itself.

(id uint)

Source from the content-addressed store, hash-verified

147
148// Client creates a client and returns itself.
149func (ab *AppClientBuilder) Client(id uint) *AppClientBuilder {
150 return ab.ClientWithToken(id, "client"+fmt.Sprint(id))
151}
152
153// ClientWithToken creates a client with a token and returns itself.
154func (ab *AppClientBuilder) ClientWithToken(id uint, token string) *AppClientBuilder {

Calls 1

ClientWithTokenMethod · 0.95