# Functions
GetIPWorkerID gets the worker id with ip.
GetLocalIP gets the local ip, it will get rid of the loop back ip.
GetRandWorkerID gets the worker id with random number.
HashWorkerID gets the worker id with input data.
NewNode returns *Node with given node id.
NewNodeWithDefault returns *Node with default node id.
NewNodeWithIP returns *Node with ip.
SetEpoch sets the epoch of uid generator, remember to set it before calling NewNode() function.
SetNodeBits sets the node bits, remember to set it before calling NewNode() function.
SetStepBits sets the step bits, remember to set it before calling NewNode() function.