Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sortedIPList (0.1 sec)

  1. cmd/net_test.go

    			sortedIPList: []string{"192.168.1.106", "172.0.21.1", "127.0.0.1"},
    		},
    		// With different ip along with localhost.
    		{
    			ipList:       []string{"127.0.0.1", "192.168.1.106"},
    			sortedIPList: []string{"192.168.1.106", "127.0.0.1"},
    		},
    		// With a list of only one element nothing to sort.
    		{
    			ipList:       []string{"hostname"},
    			sortedIPList: []string{"hostname"},
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top