-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(remote.Client): Add current context to Fetch and FetchV2 (#29)
* chore: Allow providing an externally created http client for the remote client. * Pass the current context to Fetch and FetchV2 * Create a new method instead of generate breaking changes to current ones. * Reorder FetchV2WithContext signature --------- Co-authored-by: Hugo Biarge <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
package remote | ||
|
||
import "time" | ||
import ( | ||
"time" | ||
) | ||
|
||
type Config struct { | ||
Debug bool | ||
|