摘要:
func (ctl *loginController) Static(c *gin.Context) { uri := c.Param("uri") if fileExists(path.Join(config.GetAppCfg().ResourcePath, uri)) { crcnumcook 阅读全文
摘要:
目前使用go 的gin 框架写了一个http portal 服务器, 1、目前为了调试方便,http服务器回报时会设置cookie 比如设置cookie:hostid=1;MD5=wewq8wqe等作为trace id 方便后续跟踪log 2、在设置cookie的时候遇到了,一些问题,比如设置coo 阅读全文