ClientWithToken creates a client with a token and returns itself.
(id uint, token string)
| 152 | |
| 153 | // ClientWithToken creates a client with a token and returns itself. |
| 154 | func (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. |
| 160 | func (ab *AppClientBuilder) NewClientWithToken(id uint, token string) *model.Client { |