Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sortedIPList (2.31 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top