mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 09:40:24 +08:00
20 lines
391 B
Go
20 lines
391 B
Go
|
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
|
||
|
)
|