| 23 | ) |
| 24 | |
| 25 | type NotifyServer interface { |
| 26 | GetLog(id string) model.AppNotify |
| 27 | AddLog(log model.AppNotify) |
| 28 | UpdateLog(log model.AppNotify) |
| 29 | UpdateLogByCustomID(log model.AppNotify) |
| 30 | DelLog(id string) |
| 31 | GetList(c int) (list []model.AppNotify) |
| 32 | MarkRead(id string, state int) |
| 33 | // SendText(m model.AppNotify) |
| 34 | // SendUninstallAppBySocket(app notifyCommon.Application) |
| 35 | |
| 36 | SendFileOperateNotify(nowSend bool) |
| 37 | //SendInstallAppBySocket(app notifyCommon.Application) |
| 38 | SendNotify(name string, message map[string]interface{}) |
| 39 | SettingSystemTempData(message map[string]interface{}) |
| 40 | GetSystemTempMap() syncmap.Map |
| 41 | } |
| 42 | |
| 43 | type notifyServer struct { |
| 44 | db *gorm.DB |
no outgoing calls
no test coverage detected