mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-06 15:16:53 +00:00
Code optimization
This commit is contained in:
13
vender/github.com/astaxie/beego/logs/alils/config.go
Executable file
13
vender/github.com/astaxie/beego/logs/alils/config.go
Executable file
@@ -0,0 +1,13 @@
|
||||
package alils
|
||||
|
||||
const (
|
||||
version = "0.5.0" // SDK version
|
||||
signatureMethod = "hmac-sha1" // Signature method
|
||||
|
||||
// OffsetNewest stands for the log head offset, i.e. the offset that will be
|
||||
// assigned to the next message that will be produced to the shard.
|
||||
OffsetNewest = "end"
|
||||
// OffsetOldest stands for the oldest offset available on the logstore for a
|
||||
// shard.
|
||||
OffsetOldest = "begin"
|
||||
)
|
Reference in New Issue
Block a user