Documentation ¶
Overview ¶
*
- @Time : 2020-04-26 19:57
- @Author : MassAdobe
- @Description: config
*
*
- @Time : 2020-04-26 19:57
- @Author : MassAdobe
- @Description: config
*
Index ¶
Constants ¶
View Source
const ( CONTENT_TYPE_KEY = "Content-Type" // 请求协议种类键值 CONTENT_TYPE_INNER = "application/json" // 请求协议种类内容 REQUEST_USER_KEY = "user" // 用户头信息键值 REQUEST_TIMEOUT_TM = time.Duration(5 * time.Second) // 五秒超时时间 REQUEST_TRACE_ID = "trace-id" // 跟踪ID REQUEST_STEP_ID = "step-id" // 步骤ID )
*
- @Author: MassAdobe
- @TIME: 2020/12/17 2:02 下午
- @Description: HTTP中的基本常量
*
View Source
const ( TOKEN_VERIFY_KEY = "v_scrt" // Token中校验元素secret TOKEN_USER_KEY = "g_uid" // Token中的用户KEY TOKEN_LOGIN_TM_KEY = "lgn_tm" // Token中的Login时间 TOKEN_RANDOM_MARK = "ran_mk" // 前端的随机校验码 )
*
- @Author: MassAdobe
- @TIME: 2020-04-26 21:06
- @Description: jwt常量
*
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.