mirror of
https://github.com/sony/sonyflake.git
synced 2026-12-03 18:49:29 +00:00
1 parent
848d664cee
commit
809c515cc5
4 files changed
+28
-18
No files matched your search
+4
-3
@@ -1,9 +1,10 @@
|
||||
// Package sonyflake implements Sonyflake, a distributed unique ID generator inspired by Twitter's Snowflake.
|
||||
//
|
||||
// A Sonyflake ID is composed of
|
||||
// 39 bits for time in units of 10 msec
|
||||
// 8 bits for a sequence number
|
||||
// 16 bits for a machine id
|
||||
//
|
||||
// 39 bits for time in units of 10 msec
|
||||
// 8 bits for a sequence number
|
||||
// 16 bits for a machine id
|
||||
package sonyflake
|
||||
|
||||
import (
|
||||
|
||||
Reference in new issue
Block a user