Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ApplyFunc (0.22 sec)

  1. cmd/endpoint.go

    			} else {
    				continue
    			}
    		}
    
    		if net.ParseIP(host) == nil {
    			IPs, err := getHostIP(host)
    			if err != nil {
    				continue
    			}
    
    			IPsWithPort := IPs.ApplyFunc(func(ip string) string {
    				return net.JoinHostPort(ip, port)
    			})
    
    			ipList = ipList.Union(IPsWithPort)
    		}
    
    		ipList.Add(net.JoinHostPort(host, port))
    	}
    
    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