Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewHTTPListener (0.17 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top