You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.go 336 B

1234567891011121314151617181920
  1. package controllers
  2. import "github.com/astaxie/beego"
  3. type ApiController struct {
  4. beego.Controller
  5. }
  6. func (c *ApiController) GetSessionUser() string {
  7. user := c.GetSession("username")
  8. if user == nil {
  9. return ""
  10. }
  11. return user.(string)
  12. }
  13. func (c *ApiController) SetSessionUser(user string) {
  14. c.SetSession("username", user)
  15. }

Caswire是一款基于人工智能技术的开源反病毒和入侵检测系统。该系统通过深度学习和模式识别技术,能够实时识别和防御各种网络威胁,包括病毒、恶意软件以及其他安全威胁。Caswire支持动态学习和适应网络环境的变化,确保持续的安全防护。我们期望在Caswire上:1)增强其机器学习模型,以提高恶意行为的检测准确率;2)优化系统的实时响应能力,提升在高威胁环境下的表现。

Contributors (1)