Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetService = wire.NewSet( NewGreeterService, NewHealthService, user.NewUserService, user.NewMessageService, authorization.NewAuthorizationService, resource.NewResourceService, menu.NewMenuService, team.NewTeamService, team.NewRoleService, datasource.NewDatasourceService, datasource.NewMetricService, strategy.NewStrategyService, strategy.NewTemplateService, dict.NewDictService, realtime.NewDashboardService, realtime.NewAlarmService, alarm.NewAlarmService, realtime.NewAlarmPageSelfService, subscriber.NewSubscriberService, hookservice.NewHookService, NewAlertService, invite.NewInviteService, )
ProviderSetService is service providers.
Functions ¶
This section is empty.
Types ¶
type AlertService ¶
type AlertService struct { api.UnimplementedAlertServer // contains filtered or unexported fields }
AlertService alert service
func NewAlertService ¶
func NewAlertService(alertBiz *biz.AlarmBiz, strategyBiz *biz.StrategyBiz) *AlertService
NewAlertService 创建告警服务
func (*AlertService) InnerAlarm ¶
InnerAlarm 内部告警
func (*AlertService) PushStrategy ¶
PushStrategy 推送策略
type GreeterService ¶
type GreeterService struct { v1.UnimplementedGreeterServer // contains filtered or unexported fields }
GreeterService is a greeter service.
func NewGreeterService ¶
func NewGreeterService(uc *biz.GreeterUsecase) *GreeterService
NewGreeterService new a greeter service.
func (*GreeterService) SayHello ¶
func (s *GreeterService) SayHello(ctx context.Context, in *v1.HelloRequest) (*v1.HelloReply, error)
SayHello implements helloworld.GreeterServer.
type HealthService ¶
type HealthService struct { api.UnimplementedHealthServer // contains filtered or unexported fields }
HealthService 健康检查
func NewHealthService ¶
func NewHealthService(houyiSrv *microserver.HouYiConn) *HealthService
NewHealthService 创建健康检查服务
func (*HealthService) Check ¶
func (s *HealthService) Check(ctx context.Context, req *api.CheckRequest) (*api.CheckReply, error)
Check 检查
Click to show internal directories.
Click to hide internal directories.