diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-10-29 18:24:58 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-10-29 18:24:58 +0900 |
commit | 0b4d946298c6aca479dc79b578adb9ae0da1a850 (patch) | |
tree | 263fde5bfb40708996b18f1c0c2eecd5a77418e4 /pkg/server/sockopt_linux_test.go | |
parent | 4cd45f42f9b29e4d7a86f8aa271b7b38aefeae87 (diff) |
server: unexport TCPDialer/TCPListener/TCPSockopt stuff
No need to export them. Also fixed golint errors.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'pkg/server/sockopt_linux_test.go')
-rw-r--r-- | pkg/server/sockopt_linux_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/sockopt_linux_test.go b/pkg/server/sockopt_linux_test.go index a08e7fc7..ca72a98f 100644 --- a/pkg/server/sockopt_linux_test.go +++ b/pkg/server/sockopt_linux_test.go @@ -88,7 +88,7 @@ func Test_DialTCP_FDleak(t *testing.T) { for i := 0; i < 10; i++ { laddr, _ := net.ResolveTCPAddr("tcp", net.JoinHostPort("127.0.0.1", "0")) - d := TCPDialer{ + d := tcpDialer{ Dialer: net.Dialer{ LocalAddr: laddr, Timeout: 1 * time.Second, |