(opts *connectOptions, token, baseURL string)
| 40 | } |
| 41 | |
| 42 | func resolveConnectClient(opts *connectOptions, token, baseURL string) api.ConnectClient { |
| 43 | if opts != nil && opts.client != nil { |
| 44 | return opts.client |
| 45 | } |
| 46 | return api.NewClient(token, baseURL) |
| 47 | } |
| 48 | |
| 49 | func resolveSessionRunner(opts *connectOptions) func(ctx context.Context, cfg utils.SessionConfig) error { |
| 50 | if opts != nil && opts.sessionRunner != nil { |
no test coverage detected