Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/T-PWK/go-flakeid

Package flakeid generator yielding k-ordered, conflict-free identifiers. Each identifier is a 64 bits unsigned integer, consisting of: timestamp, a 42 bit long number of milliseconds elapsed since 1 January 1970 00:00:00 UTC; datacenter, a 5 bit long identifier, which can take up to 32 unique values (including 0); worker, a 5 bit long worker indentifier, which can take up to 32 unique values (including 0); counter, a 12 bit long counter of identifiers in the same millisecond, which can take up to 4096 unique values (including 0). Breakdown of bits for an id e.g. 5828128208445124609 (counter is 1, datacenter is 7 and worker 3) is as follows:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21t-%21p%21w%21k/go-flakeid
Keywords: flake, flake-ids, go, golang, identifier, uniq, unique, unique-id, unique-identifier, uniqueness
License: MIT
Latest release: about 3 years ago
First release: over 5 years ago
Namespace: github.com/T-PWK
Stars: 9 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago

    Loading...
    Readme
    Loading...