MCPcopy
hub / github.com/IceWhaleTech/CasaOS / NotifyServer

Interface NotifyServer

service/notify.go:25–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23)
24
25type 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
43type notifyServer struct {
44 db *gorm.DB

Callers 12

GetSystemCheckVersionFunction · 0.65
SendMegFunction · 0.65
SendMegFunction · 0.65
PutNotifyReadFunction · 0.65
PostOperateFileOrDirFunction · 0.65
DeleteOperateFileOrDirFunction · 0.65
GetRecoverStorageFunction · 0.65
PostNotifyMessageFunction · 0.65
PostSystemStatusNotifyFunction · 0.65
GetSystemUtilizationFunction · 0.65

Implementers 1

notifyServerservice/notify.go

Calls

no outgoing calls

Tested by

no test coverage detected