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 support set tls config #30

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

veezhang
Copy link
Contributor

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Description:

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

@veezhang veezhang requested review from nianiaJR and kqzh March 30, 2023 13:21
@veezhang veezhang force-pushed the master branch 2 times, most recently from 9847693 to ea36602 Compare March 30, 2023 13:29
@@ -90,6 +108,12 @@ func WithAuthToken(token string) RequestOption {
}
}

func WithNewClientHookHook(fn func(*resty.Client)) RequestOption {
Copy link
Contributor

Choose a reason for hiding this comment

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

HookHook?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

typo

@@ -54,6 +55,67 @@ func TestNewClient(t *testing.T) {
}
}

func TestWithNewClientHookHook(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

typo

Copy link
Contributor

@nianiaJR nianiaJR left a comment

Choose a reason for hiding this comment

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

LGTM

@nianiaJR nianiaJR merged commit e993da2 into vesoft-inc:master Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants