Documentation ¶
Overview ¶
Package awsutil provides utility functions for using Sonyflake on AWS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AmazonEC2MachineID ¶
AmazonEC2MachineID retrieves the private IP address of the Amazon EC2 instance and returns its lower 16 bits. It works correctly on Docker as well.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.