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
- Host: GitHub
- URL: https://github.com/cycoresystems/ec2
- Owner: CyCoreSystems
- License: mit
- Created: 2015-02-03T01:57:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-23T16:57:57.000Z (about 8 years ago)
- Last Synced: 2025-02-25T15:03:41.297Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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