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

https://github.com/anuragsoni/id_gen

Generate 128 bit k-ordered unique ids (read time-ordered lexically)
https://github.com/anuragsoni/id_gen

elixir id-generation snowflake

Last synced: 9 months ago
JSON representation

Generate 128 bit k-ordered unique ids (read time-ordered lexically)

Awesome Lists containing this project

README

          

# IdGen

Generates 128 bit k-ordered ids. Exploring elixir, by translating Boundary's flake id generator

Example usage:
```elixir
IdGen.generate_id(5, :url_encoded)
["AAABYP0ajwncqQSR50IAAA==", "AAABYP0ajxHcqQSR50IAAA==",
"AAABYP0ajxHcqQSR50IAAQ==", "AAABYP0ajxHcqQSR50IAAg==",
"AAABYP0ajxHcqQSR50IAAw=="]
```