Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ApplyFunc (0.04 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top