pkg.re/essentialkaos/ek.10@v12.41.0+incompatible/netutil/netutil_windows.go (about)

     1  // Package netutil provides methods for working with network
     2  package netutil
     3  
     4  // ////////////////////////////////////////////////////////////////////////////////// //
     5  //                                                                                    //
     6  //                         Copyright (c) 2022 ESSENTIAL KAOS                          //
     7  //      Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>     //
     8  //                                                                                    //
     9  // ////////////////////////////////////////////////////////////////////////////////// //
    10  
    11  // ❗ GetIP returns main IPv4 address
    12  func GetIP() string {
    13  	panic("UNSUPPORTED")
    14  	return ""
    15  }
    16  
    17  // ❗ GetIP6 returns main IPv6 address
    18  func GetIP6() string {
    19  	panic("UNSUPPORTED")
    20  	return ""
    21  }