Documentation ¶
Index ¶
- Variables
- func NewDatasourceMetricRepository(cli *data.HouYiConn) microrepository.DatasourceMetric
- func NewMsgRepository(cli *data.RabbitConn) repository.Msg
- func NewSendAlertRepository(data *data.Data, rabbitConn *data.RabbitConn, ...) microrepository.SendAlert
- func NewServerRegisterRepository(houyiConn *data.HouYiConn, rabbitConn *data.RabbitConn) microrepository.ServerRegister
- func NewStrategyRepository(data *data.Data, houyiClient *data.HouYiConn) microrepository.Strategy
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetRPCRepoImpl = wire.NewSet( NewDatasourceMetricRepository, NewMsgRepository, NewStrategyRepository, NewServerRegisterRepository, NewSendAlertRepository, )
ProviderSetRPCRepoImpl rpc repo impl provider
Functions ¶
func NewDatasourceMetricRepository ¶ added in v1.1.0
func NewDatasourceMetricRepository(cli *data.HouYiConn) microrepository.DatasourceMetric
NewDatasourceMetricRepository 创建数据源指标操作
func NewMsgRepository ¶ added in v1.1.0
func NewMsgRepository(cli *data.RabbitConn) repository.Msg
NewMsgRepository 创建消息操作
func NewSendAlertRepository ¶ added in v1.1.0
func NewSendAlertRepository(data *data.Data, rabbitConn *data.RabbitConn, alarmSendRepository repository.AlarmSendRepository) microrepository.SendAlert
NewSendAlertRepository 创建告警发送仓库
func NewServerRegisterRepository ¶ added in v1.1.0
func NewServerRegisterRepository(houyiConn *data.HouYiConn, rabbitConn *data.RabbitConn) microrepository.ServerRegister
NewServerRegisterRepository 创建一个ServerRegisterRepository
func NewStrategyRepository ¶ added in v1.1.0
NewStrategyRepository 创建策略仓库
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.