Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetBiz = wire.NewSet(NewPingBiz, NewAlarmBiz, NewEvaluateBiz)
ProviderSetBiz is biz providers.
Functions ¶
This section is empty.
Types ¶
type AlarmBiz ¶
type AlarmBiz struct {
// contains filtered or unexported fields
}
func NewAlarmBiz ¶
func NewAlarmBiz(alarmRepo repository.AlarmRepo, logger log.Logger) *AlarmBiz
type EvaluateBiz ¶ added in v0.0.16
type EvaluateBiz struct {
// contains filtered or unexported fields
}
func NewEvaluateBiz ¶ added in v0.0.16
func NewEvaluateBiz(logger log.Logger) *EvaluateBiz
func (*EvaluateBiz) EvaluateV2 ¶ added in v0.0.16
func (b *EvaluateBiz) EvaluateV2(ctx context.Context, req *bo.EvaluateReqBo) ([]*agent.Alarm, error)
EvaluateV2 告警事件产生
type PingBiz ¶
type PingBiz struct {
// contains filtered or unexported fields
}
PingBiz is a Ping useCase.
func NewPingBiz ¶
func NewPingBiz(repo repository.PingRepo, logger log.Logger) *PingBiz
NewPingBiz new a Ping useCase.
Click to show internal directories.
Click to hide internal directories.