Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewHTTPListener (0.19 sec)

  1. internal/http/listener_test.go

    	}, "")
    	if len(nonLoopBackIPs) == 0 {
    		t.Fatalf("No non-loop back IP address found for this host")
    	}
    	nonLoopBackIP := nonLoopBackIPs.ToSlice()[0]
    	return nonLoopBackIP
    }
    
    func TestNewHTTPListener(t *testing.T) {
    	testCases := []struct {
    		serverAddrs         []string
    		tcpKeepAliveTimeout time.Duration
    		readTimeout         time.Duration
    		writeTimeout        time.Duration
    		expectedListenErrs  []bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 12 16:09:28 GMT 2023
    - 11.8K bytes
    - Viewed (0)
Back to top