摘要:        
func (ctl *loginController) Static(c *gin.Context) { uri := c.Param("uri") if fileExists(path.Join(config.GetAppCfg().ResourcePath, uri)) { crcnumcook    阅读全文
posted @ 2023-05-12 11:28
codestacklinuxer
阅读(31)
评论(0)
推荐(0)
        
            
        
        
摘要:        
目前使用go 的gin 框架写了一个http portal 服务器, 1、目前为了调试方便,http服务器回报时会设置cookie 比如设置cookie:hostid=1;MD5=wewq8wqe等作为trace id 方便后续跟踪log 2、在设置cookie的时候遇到了,一些问题,比如设置coo    阅读全文
posted @ 2023-05-12 11:14
codestacklinuxer
阅读(55)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号