Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { historyapi.UnimplementedHistoryServer // contains filtered or unexported fields }
Service is a history service.
func NewHistoryService ¶
func NewHistoryService(alarmHistoryBiz *biz.AlarmHistoryBiz) *Service
NewHistoryService 创建告警历史操作服务
func (*Service) GetHistory ¶
func (s *Service) GetHistory(ctx context.Context, req *historyapi.GetHistoryRequest) (*historyapi.GetHistoryReply, error)
GetHistory 获取告警历史详情
func (*Service) ListHistory ¶
func (s *Service) ListHistory(ctx context.Context, req *historyapi.ListHistoryRequest) (*historyapi.ListHistoryReply, error)
ListHistory 获取告警历史列表
Click to show internal directories.
Click to hide internal directories.