forked from galaxydi/go-loghub
-
Notifications
You must be signed in to change notification settings - Fork 113
/
config.go
28 lines (22 loc) · 873 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package sls
const (
version = "0.6.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"
// ProgressHeader stands for the progress header in GetLogs response
ProgressHeader = "X-Log-Progress"
// GetLogsCountHeader stands for the count header in GetLogs response
GetLogsCountHeader = "X-Log-Count"
// RequestIDHeader stands for the requestID in all response
RequestIDHeader = "x-log-requestid"
GetLogsQueryInfo = "X-Log-Query-Info"
HasSQLHeader = "x-log-has-sql"
ETLVersion = 2
ETLType = "ETL"
ETLSinksType = "AliyunLOG"
)