-
Notifications
You must be signed in to change notification settings - Fork 78
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
move internal/net/tcp package to internal/net package and support unix domain socket #1010
move internal/net/tcp package to internal/net package and support unix domain socket #1010
Conversation
c3d60a7
to
d51abb9
Compare
[CHATOPS:HELP] ChatOps commands.
|
[WARNING:INTCFG] Changes in |
Codecov Report
@@ Coverage Diff @@
## master #1010 +/- ##
==========================================
- Coverage 14.90% 14.26% -0.64%
==========================================
Files 497 494 -3
Lines 28400 28284 -116
==========================================
- Hits 4232 4034 -198
- Misses 23910 24000 +90
+ Partials 258 250 -8
Continue to review full report at Codecov.
|
d51abb9
to
a6a1398
Compare
ff60577
to
1b49bc2
Compare
…x domain socket Signed-off-by: kpango <kpango@vdaas.org>
41dde2c
to
eed9588
Compare
Signed-off-by: kpango <kpango@vdaas.org>
eed9588
to
ec820cb
Compare
localHost = "localhost" | ||
defaultPort = 80 | ||
|
||
Unknown NetworkType = iota |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
exported const Unknown should have comment (or a comment on this block) or be unexported (golint)
@vdaas/core @vdaas/sre @vdaas/set This pr is now ready for review, please review this PR |
Signed-off-by: kpango <kpango@vdaas.org>
Signed-off-by: kpango <kpango@vdaas.org>
Signed-off-by: kpango <kpango@vdaas.org>
Signed-off-by: kpango <kpango@vdaas.org>
8a20261
to
3a0646b
Compare
@@ -830,7 +830,7 @@ func TestWithDialer(t *testing.T) { | |||
// Change interface type to the type of object you are testing | |||
type T = interface{} | |||
type args struct { | |||
der tcp.Dialer | |||
der net.Dialer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶der
is unused (structcheck)
} | ||
} | ||
|
||
func (ctrl *control) GetControl() func(network, addr string, c syscall.RawConn) (err error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
Function 'GetControl' is too long (78 > 60) (funlen)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx ! Gread Job!
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked.
…-to-net-package-and-support-unix-domain-socket
// | ||
|
||
// Package control provides network socket option | ||
package control |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
package should be control_test
instead of control
(testpackage)
Signed-off-by: kpango kpango@vdaas.org
Description:
This PR includes 6 changes
Related Issue:
How Has This Been Tested?:
I executed make e2e command and checked all existing test has been passed.
Environment:
Types of changes:
Changes to Core Features:
Checklist: