mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 01:50:26 +08:00
修复一处注释
This commit is contained in:
6
go.mod
6
go.mod
@@ -2,7 +2,11 @@ module github.com/TeaOSLab/EdgeNode
|
|||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
replace github.com/TeaOSLab/EdgeCommon => ../EdgeCommon
|
replace (
|
||||||
|
github.com/TeaOSLab/EdgeCommon => ../EdgeCommon
|
||||||
|
github.com/fsnotify/fsnotify => /Users/WorkSpace/Projects/fsnotify
|
||||||
|
rogchap.com/v8go => /Users/Workspace/Projects/v8go
|
||||||
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/TeaOSLab/EdgeCommon v0.0.0-00010101000000-000000000000
|
github.com/TeaOSLab/EdgeCommon v0.0.0-00010101000000-000000000000
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ func httpRequestNextId() string {
|
|||||||
httpRequestTimestamp = unixTime
|
httpRequestTimestamp = unixTime
|
||||||
}
|
}
|
||||||
|
|
||||||
// timestamp + requestId + nodeId
|
// timestamp + nodeId + requestId
|
||||||
return unixTimeString + teaconst.NodeIdString + strconv.Itoa(int(atomic.AddInt32(&httpRequestId, 1)))
|
return unixTimeString + teaconst.NodeIdString + strconv.Itoa(int(atomic.AddInt32(&httpRequestId, 1)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user