An open API service indexing awesome lists of open source software.

https://github.com/cycoresystems/ec2

Go EC2 utility library
https://github.com/cycoresystems/ec2

Last synced: 8 months ago
JSON representation

Go EC2 utility library

Awesome Lists containing this project

README

          

# ec2
Go EC2 utility library

**DEPRECATED**: please use the more general
[netdiscover](https://github.com/CyCoreSystems/netdiscover) library and tool.

## Hostname/IP functions

* `GetPublicIPv4`: retrieve the public IPv4 address of the current instance
* `GetPublicName`: retrieve the public hostname of the current instance
* `GetPrivateIPv4`: retrieve the private IPv4 address of the current instance
* `GetPrivateName`: retrieve the private hostname of the current instance