Client creates a client and returns itself.
(id uint)
| 147 | |
| 148 | // Client creates a client and returns itself. |
| 149 | func (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. |
| 154 | func (ab *AppClientBuilder) ClientWithToken(id uint, token string) *AppClientBuilder { |