Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FuncMatch (0.11 sec)

  1. cmd/endpoint_test.go

    	defer func() {
    		globalMinioPort = tempGlobalMinioPort
    	}()
    	globalMinioPort = "9000"
    
    	// Filter ipList by IPs those do not start with '127.'.
    	nonLoopBackIPs := localIP4.FuncMatch(func(ip string, matchString string) bool {
    		return !net.ParseIP(ip).IsLoopback()
    	}, "")
    	if len(nonLoopBackIPs) == 0 {
    		t.Fatalf("No non-loop back IP address found for this host")
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    				return net.JoinHostPort(ip, port)
    			})
    
    			ipList = ipList.Union(IPsWithPort)
    		}
    
    		ipList.Add(net.JoinHostPort(host, port))
    	}
    
    	globalDomainIPs = ipList.FuncMatch(func(ip string, matchString string) bool {
    		host, _, err := net.SplitHostPort(ip)
    		if err != nil {
    			host = ip
    		}
    		return !net.ParseIP(host).IsLoopback() && host != "localhost"
    	}, "")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
Back to top