# Functions
> 中间件[Behavior].
behavior get field's value.
behavior will be ignore.
behavior set field's value.
Cors 跨域配置 by gin-contrib.cors.
behavior set cost_trace to add trace sub module of cost duration.
==================== JWT签名工具结构.
Create StandardClaims.
# Constants
api.
client ip.
回应业务码(int).
耗时(ms).
耗时追踪(ms)(业务层).
api耗时超过阀值则log等级提升为warn.
Http Method.
请求头.
请求数据.
request id (需请求头中含有C_REQ_HEAD_REQUEST_ID).
回应数据中的Data字段(不单独占用logger.field,仅逻辑用途).
回应数据(不单独占用logger.field,使用message作为输出).
重试时间((需请求头中含有C_REQ_HEAD_RETRY_AT)).
回应字节大小(KB).
回应http状态码(int).
user id (string)(业务层).
管理behavior的context中的key.
# Interfaces
自定义荷载接口.
# Type aliases
管理behavior的字段数据类型.