示例#1
0
func logout(c *gin.Context) {
	c.SetCookie("semaphore", "", -1, "/", "", false, true)
	c.AbortWithStatus(204)
}