Documentation ¶
Index ¶
- type SceneAlarm
- func (l *SceneAlarm) AlarmRelieve(ctx context.Context, in scene.AlarmRelieve) error
- func (l *SceneAlarm) AlarmTrigger(ctx context.Context, in scene.TriggerSerial) error
- func (l *SceneAlarm) HandleRelieve(ctx context.Context, in scene.AlarmRelieve, alarmInfo *mysql.RuleAlarmInfo) error
- func (l *SceneAlarm) HandleTrigger(ctx context.Context, in scene.TriggerSerial, alarmInfo *mysql.RuleAlarmInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SceneAlarm ¶
type SceneAlarm struct {
// contains filtered or unexported fields
}
func NewSceneAlarm ¶
func NewSceneAlarm(svcCtx *svc.ServiceContext) *SceneAlarm
func (*SceneAlarm) AlarmRelieve ¶
func (l *SceneAlarm) AlarmRelieve(ctx context.Context, in scene.AlarmRelieve) error
func (*SceneAlarm) AlarmTrigger ¶
func (l *SceneAlarm) AlarmTrigger(ctx context.Context, in scene.TriggerSerial) error
func (*SceneAlarm) HandleRelieve ¶
func (l *SceneAlarm) HandleRelieve(ctx context.Context, in scene.AlarmRelieve, alarmInfo *mysql.RuleAlarmInfo) error
func (*SceneAlarm) HandleTrigger ¶
func (l *SceneAlarm) HandleTrigger(ctx context.Context, in scene.TriggerSerial, alarmInfo *mysql.RuleAlarmInfo) error
Click to show internal directories.
Click to hide internal directories.