Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeforeFunc ¶
type Hook ¶
type Hook struct { // 方法在执行请求之前执行 BeforePost BeforeFunc // 方法在执行请求后执行 AfterPost AfterFunc // contains filtered or unexported fields }
Log服务端点配置.
type Log ¶
type Log struct { Level string `json:"level"` // 日志级别:notice,warning,error Route interface{} `json:"route"` // 请求地址, 可不传 RequestParam datatypes.JSON `json:"request_param"` // 请求参数 json对象,可不传 Record string `json:"record"` // 日志内容 BelongSystem string `json:"belong_system"` // 所属系统,获取端点配置 }
Teamones Log日志格式
type RequestParamJson ¶
Click to show internal directories.
Click to hide internal directories.