Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserHeader = "User-ID" OrgHeader = "Org-ID" InternalHeader = "Internal-Client" // 内部服务间调用时使用 InternalActionHeader = "Internal-Action-Client" // action calls the api header RequestIDHeader = "RequestID" UserInfoDesensitizedHeader = "Openapi-Userinfo-Desensitized" ClientIDHeader = "Client-ID" ClientNameHeader = "Client-Name" )
dice 公共 Header
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContentType ¶ added in v1.3.0
type ContentType string
const ( ApplicationJson ContentType = "application/json" URLEncodedFormMime ContentType = "application/x-www-form-urlencoded" )
Click to show internal directories.
Click to hide internal directories.