hostutils v1.0.0 Release Notes

Release Date: 2017-10-03 // over 3 years ago
  • func Normalize(hosts []string) (packedHosts []string)
        Normalize Unpack and pack hosts
    
    func NormalizeString(hosts string) (packedHosts []string)
        NormalizeString Unpack and pack hosts
    
    func Pack(hosts []string) (packedHosts []string)
        Pack Pack full hosts list into short abbreviated hosts.
    
    func PackString(hosts string) (packedHosts []string)
        PackString Pack space septated full hosts list into short abbreviated
        hosts.
    
    func Unpack(packedHosts []string) (hosts []string)
        Unpack Unpack short abbreviated hosts into full hosts list.
    
    func UnpackString(packedHosts string) (hosts []string)
        Unpack Unpack space septated short abbreviated hosts into full hosts
        list.