Documentation ¶
Overview ¶
*
- @copyright 像衍科技-idr.ai
- @author 牛牛-研发部-www.ruomm.com
- @create 2024/1/23 10:01
- @version 1.0
Index ¶
Constants ¶
View Source
const ( // Http请求头 CONTEXT_KEY_TRACE = "KEY_TRACE" HEADER_NAME_TRACEID = "X-IDR-TraceId" HEADER_NAME_TS = "X-IDR-Ts" HEADER_NAME_AUTHORIZATION = "Authorization" HEADER_NAME_AUTH_USER_ID = "__auth_user_id" HEADER_NAME_AUTH_CLEAR = "__auth_clear" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParamError ¶
type XResponse ¶
func GenXResponse ¶
func (*XResponse) ConstructResult ¶ added in v0.0.3
func (t *XResponse) ConstructResult(respCode int, datas ...interface{}) (int, string, []ParamError, interface{}, interface{})
Click to show internal directories.
Click to hide internal directories.