Getter functions that ensure addresses are initialized before returning them These can be used when you need to ensure initialization happens
()
| 191 | // These can be used when you need to ensure initialization happens |
| 192 | |
| 193 | func GetSockAddr() string { |
| 194 | ensureAddressesInitialized() |
| 195 | return sockAddr |
| 196 | } |
| 197 | |
| 198 | func GetSockAddrHttp() string { |
| 199 | ensureAddressesInitialized() |