auto commit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 版权属于:yitter(yitter@126.com)
|
||||
* 开源地址:https://gitee.com/yitter/idgenerator
|
||||
* 开源地址:https://github.com/yitter/idgenerator
|
||||
*/
|
||||
use std::{thread, time};
|
||||
use std::net::UdpSocket;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 版权属于:yitter(yitter@126.com)
|
||||
* 开源地址:https://gitee.com/yitter/idgenerator
|
||||
* 开源地址:https://github.com/yitter/idgenerator
|
||||
*/
|
||||
pub trait ISnowWorker {
|
||||
fn NextId(&self) -> i64;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 版权属于:yitter(yitter@126.com)
|
||||
* 开源地址:https://gitee.com/yitter/idgenerator
|
||||
* 开源地址:https://github.com/yitter/idgenerator
|
||||
*/
|
||||
|
||||
pub struct IdGeneratorOptions {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 版权属于:yitter(yitter@126.com)
|
||||
* 开源地址:https://gitee.com/yitter/idgenerator
|
||||
* 开源地址:https://github.com/yitter/idgenerator
|
||||
*/
|
||||
pub struct OverCostActionArg {
|
||||
ActionType: u32,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 版权属于:yitter(yitter@126.com)
|
||||
* 开源地址:https://gitee.com/yitter/idgenerator
|
||||
* 开源地址:https://github.com/yitter/idgenerator
|
||||
*/
|
||||
use std::{thread};
|
||||
use chrono::Utc;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 版权属于:yitter(yitter@126.com)
|
||||
* 开源地址:https://gitee.com/yitter/idgenerator
|
||||
* 开源地址:https://github.com/yitter/idgenerator
|
||||
*/
|
||||
use crate::idgen::*;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* 版权属于:yitter(yitter@126.com)
|
||||
* 开源地址:https://gitee.com/yitter/idgenerator
|
||||
* 开源地址:https://github.com/yitter/idgenerator
|
||||
*/
|
||||
use std::sync::Mutex;
|
||||
use std::sync::Arc;
|
||||
|
||||
Reference in New Issue
Block a user