Documentation ¶
Index ¶
- Variables
- func NewAlertRepository(data *data.Data, palaceCli *microserver.PalaceConn) repository.Alert
- func NewCacheRepo(data *data.Data) repository.CacheRepo
- func NewHeartbeatRepository(palaceConn *microserver.PalaceConn) repository.Heartbeat
- func NewMetricRepository(data *data.Data, palaceCli *microserver.PalaceConn) repository.Metric
- func NewStrategyRepository(data *data.Data) repository.Strategy
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetRepoImpl = wire.NewSet( NewCacheRepo, NewMetricRepository, NewStrategyRepository, NewAlertRepository, NewHeartbeatRepository, )
ProviderSetRepoImpl wire Set
Functions ¶
func NewAlertRepository ¶
func NewAlertRepository(data *data.Data, palaceCli *microserver.PalaceConn) repository.Alert
NewAlertRepository 实例化alert
func NewHeartbeatRepository ¶ added in v1.1.0
func NewHeartbeatRepository(palaceConn *microserver.PalaceConn) repository.Heartbeat
NewHeartbeatRepository 初始化心跳存储层
func NewMetricRepository ¶
func NewMetricRepository(data *data.Data, palaceCli *microserver.PalaceConn) repository.Metric
NewMetricRepository 实例化MetricRepository
func NewStrategyRepository ¶
func NewStrategyRepository(data *data.Data) repository.Strategy
NewStrategyRepository 创建策略操作器
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.