Documentation ¶
Index ¶
- type AlarmPageSelfService
- type AlarmService
- type DashboardService
- func (s *DashboardService) BatchUpdateDashboardStatus(ctx context.Context, req *realtimeapi.BatchUpdateDashboardStatusRequest) (*realtimeapi.BatchUpdateDashboardStatusReply, error)
- func (s *DashboardService) CreateDashboard(ctx context.Context, req *realtimeapi.CreateDashboardRequest) (*realtimeapi.CreateDashboardReply, error)
- func (s *DashboardService) DeleteDashboard(ctx context.Context, req *realtimeapi.DeleteDashboardRequest) (*realtimeapi.DeleteDashboardReply, error)
- func (s *DashboardService) GetDashboard(ctx context.Context, req *realtimeapi.GetDashboardRequest) (*realtimeapi.GetDashboardReply, error)
- func (s *DashboardService) ListDashboard(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardReply, error)
- func (s *DashboardService) ListDashboardSelect(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardSelectReply, error)
- func (s *DashboardService) UpdateDashboard(ctx context.Context, req *realtimeapi.UpdateDashboardRequest) (*realtimeapi.UpdateDashboardReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmPageSelfService ¶
type AlarmPageSelfService struct { pb.UnimplementedAlarmPageSelfServer // contains filtered or unexported fields }
AlarmPageSelfService is a service that implements the AlarmPageSelfServer.
func NewAlarmPageSelfService ¶
func NewAlarmPageSelfService(alarmPageBiz *biz.AlarmPageBiz) *AlarmPageSelfService
NewAlarmPageSelfService creates a new AlarmPageSelfService.
func (*AlarmPageSelfService) ListAlarmPage ¶
func (s *AlarmPageSelfService) ListAlarmPage(ctx context.Context, _ *pb.ListAlarmPageRequest) (*pb.ListAlarmPageReply, error)
ListAlarmPage implements AlarmPageSelfServer.
func (*AlarmPageSelfService) UpdateAlarmPage ¶
func (s *AlarmPageSelfService) UpdateAlarmPage(ctx context.Context, req *pb.UpdateAlarmPageRequest) (*pb.UpdateAlarmPageReply, error)
UpdateAlarmPage implements AlarmPageSelfServer.
type AlarmService ¶
type AlarmService struct { realtimeapi.UnimplementedAlarmServer // contains filtered or unexported fields }
AlarmService 实时告警数据服务
func NewAlarmService ¶
func NewAlarmService(alarmBiz *biz.AlarmBiz) *AlarmService
NewAlarmService 实时告警数据服务
func (*AlarmService) GetAlarm ¶
func (s *AlarmService) GetAlarm(ctx context.Context, req *realtimeapi.GetAlarmRequest) (*realtimeapi.GetAlarmReply, error)
GetAlarm 获取实时告警数据
func (*AlarmService) ListAlarm ¶
func (s *AlarmService) ListAlarm(ctx context.Context, req *realtimeapi.ListAlarmRequest) (*realtimeapi.ListAlarmReply, error)
ListAlarm 获取实时告警数据列表
type DashboardService ¶
type DashboardService struct { realtimeapi.UnimplementedDashboardServer // contains filtered or unexported fields }
DashboardService 监控大盘服务
func NewDashboardService ¶
func NewDashboardService(dashboardBiz *biz.DashboardBiz) *DashboardService
NewDashboardService 创建监控大盘服务
func (*DashboardService) BatchUpdateDashboardStatus ¶ added in v1.1.0
func (s *DashboardService) BatchUpdateDashboardStatus(ctx context.Context, req *realtimeapi.BatchUpdateDashboardStatusRequest) (*realtimeapi.BatchUpdateDashboardStatusReply, error)
BatchUpdateDashboardStatus 批量更新监控大盘状态
func (*DashboardService) CreateDashboard ¶
func (s *DashboardService) CreateDashboard(ctx context.Context, req *realtimeapi.CreateDashboardRequest) (*realtimeapi.CreateDashboardReply, error)
CreateDashboard 创建监控大盘
func (*DashboardService) DeleteDashboard ¶
func (s *DashboardService) DeleteDashboard(ctx context.Context, req *realtimeapi.DeleteDashboardRequest) (*realtimeapi.DeleteDashboardReply, error)
DeleteDashboard 删除监控大盘
func (*DashboardService) GetDashboard ¶
func (s *DashboardService) GetDashboard(ctx context.Context, req *realtimeapi.GetDashboardRequest) (*realtimeapi.GetDashboardReply, error)
GetDashboard 获取监控大盘
func (*DashboardService) ListDashboard ¶
func (s *DashboardService) ListDashboard(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardReply, error)
ListDashboard 获取监控大盘列表
func (*DashboardService) ListDashboardSelect ¶
func (s *DashboardService) ListDashboardSelect(ctx context.Context, req *realtimeapi.ListDashboardRequest) (*realtimeapi.ListDashboardSelectReply, error)
ListDashboardSelect 获取监控大盘下拉列表
func (*DashboardService) UpdateDashboard ¶
func (s *DashboardService) UpdateDashboard(ctx context.Context, req *realtimeapi.UpdateDashboardRequest) (*realtimeapi.UpdateDashboardReply, error)
UpdateDashboard 更新监控大盘
Click to show internal directories.
Click to hide internal directories.