rename ngin to rest
This commit is contained in:
19
rest/httpx/constants.go
Normal file
19
rest/httpx/constants.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package httpx
|
||||
|
||||
const (
|
||||
ApplicationJson = "application/json"
|
||||
ContentEncoding = "Content-Encoding"
|
||||
ContentSecurity = "X-Content-Security"
|
||||
ContentType = "Content-Type"
|
||||
KeyField = "key"
|
||||
SecretField = "secret"
|
||||
TypeField = "type"
|
||||
CryptionType = 1
|
||||
)
|
||||
|
||||
const (
|
||||
CodeSignaturePass = iota
|
||||
CodeSignatureInvalidHeader
|
||||
CodeSignatureWrongTime
|
||||
CodeSignatureInvalidToken
|
||||
)
|
||||
Reference in New Issue
Block a user