- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newCustomDialContext (0.22 sec)
-
internal/http/dial_others.go
// NewInternodeDialContext setups a custom dialer for internode communication var NewInternodeDialContext = NewCustomDialContext // NewCustomDialContext configures a custom dialer for internode communications func NewCustomDialContext(dialTimeout time.Duration, _ TCPOptions) DialContext { return func(ctx context.Context, network, addr string) (net.Conn, error) { dialer := &net.Dialer{
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.7K bytes - Viewed (0) -
internal/http/dial_linux.go
dialer := &net.Dialer{ Timeout: dialTimeout, Control: setTCPParametersFn(opts), } return dialer.DialContext(ctx, network, addr) } } // NewCustomDialContext setups a custom dialer for any external communication and proxies. func NewCustomDialContext(dialTimeout time.Duration, opts TCPOptions) DialContext { return func(ctx context.Context, network, addr string) (net.Conn, error) { dialer := &net.Dialer{
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Jun 07 16:53:05 GMT 2023 - 4.4K bytes - Viewed (3)