Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnowflakeWorker ¶
type SnowflakeWorker struct {
// contains filtered or unexported fields
}
func NewSnowflakeWorker ¶
func NewSnowflakeWorker(workerId int64) *SnowflakeWorker
func (*SnowflakeWorker) GenId ¶
func (s *SnowflakeWorker) GenId() int64
Click to show internal directories.
Click to hide internal directories.