Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(httpClient): introducing an httpClient #1629

Merged
merged 1 commit into from
Feb 5, 2021
Merged

Conversation

Arqu
Copy link
Contributor

@Arqu Arqu commented Feb 4, 2021

This is the first step towards moving from RPC > HTTP.

So far this is non-breaking and simply introduces the HTTPClient and semi-defines the API endpoints we have.
Next series of PRs will convert us from RPC to the HTTPClient and funnel down the context from above to lib.

Also used the opportunity to update our ma/net package as the original one was deprecated and moved in as a subpackage.

@Arqu Arqu added feat A code change that adds functionality API JSON API issues RPC remote procedure call issues labels Feb 4, 2021
@Arqu Arqu requested review from b5 and dustmop February 4, 2021 20:56
@Arqu Arqu self-assigned this Feb 4, 2021
lib/lib.go Outdated Show resolved Hide resolved
lib/lib.go Outdated Show resolved Hide resolved
config/api.go Outdated Show resolved Hide resolved
lib/http.go Outdated Show resolved Hide resolved
lib/http.go Outdated Show resolved Hide resolved
lib/http.go Outdated Show resolved Hide resolved
lib/http.go Outdated Show resolved Hide resolved
@dustmop
Copy link
Contributor

dustmop commented Feb 5, 2021

No comments aside from b5's feedback.

Copy link
Member

@b5 b5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! v excited about this one

@Arqu Arqu merged commit 8ecde53 into master Feb 5, 2021
@Arqu Arqu deleted the arqu/http_client branch February 5, 2021 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API JSON API issues feat A code change that adds functionality RPC remote procedure call issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants