Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide( checkservice.NewCheckServ, hostgroupservice.NewHostGroupServ, hostservice.NewHostServ, propertyservice.NewPropertyServ, configservice.NewConfigServ, configservice.NewStaticConfigServ, competitionservice.NewCompetitionServ, policyservice.NewPolicyServ, reportservice.NewReportServ, userservice.NewUserServ, teamservice.NewTeamServ, servicegroupservice.NewServiceGroupServ, roundservice.NewRoundServ, serviceservice.NewServiceServ, ), fx.Provide( fx.Annotate(handler.NewHealthController, fx.As(new(healthv1.HealthServer))), fx.Annotate(handler.NewPolicyController, fx.As(new(policyv1.PolicyServiceServer))), fx.Annotate(handler.NewAuthController, fx.As(new(authv1.AuthServiceServer))), fx.Annotate(handler.NewUserController, fx.As(new(userv1.UserServiceServer))), fx.Annotate(handler.NewTeamController, fx.As(new(teamv1.TeamServiceServer))), fx.Annotate(handler.NewServiceController, fx.As(new(servicev1.ServiceServiceServer))), fx.Annotate(handler.NewServiceGroupController, fx.As(new(service_groupv1.ServiceGroupServiceServer))), fx.Annotate(handler.NewRoundController, fx.As(new(roundv1.RoundServiceServer))), fx.Annotate(handler.NewReportController, fx.As(new(reportv1.ReportServiceServer))), fx.Annotate(handler.NewPropertyController, fx.As(new(propertyv1.PropertyServiceServer))), fx.Annotate(handler.NewHostGroupController, fx.As(new(host_groupv1.HostGroupServiceServer))), fx.Annotate(handler.NewHostController, fx.As(new(hostv1.HostServiceServer))), fx.Annotate(handler.NewStaticConfigController, fx.As(new(configv1.StaticConfigServiceServer))), fx.Annotate(handler.NewConfigController, fx.As(new(configv1.DynamicConfigServiceServer))), fx.Annotate(handler.NewCompetitionController, fx.As(new(competitionv1.CompetitionServiceServer))), fx.Annotate(handler.NewCheckController, fx.As(new(checkv1.CheckServiceServer))), ), fx.Provide(func(server *grpc.Server) grpc.ServiceRegistrar { return server }), fx.Invoke( checkv1.RegisterCheckServiceServer, competitionv1.RegisterCompetitionServiceServer, configv1.RegisterStaticConfigServiceServer, configv1.RegisterDynamicConfigServiceServer, hostv1.RegisterHostServiceServer, host_groupv1.RegisterHostGroupServiceServer, propertyv1.RegisterPropertyServiceServer, reportv1.RegisterReportServiceServer, roundv1.RegisterRoundServiceServer, servicev1.RegisterServiceServiceServer, service_groupv1.RegisterServiceGroupServiceServer, teamv1.RegisterTeamServiceServer, userv1.RegisterUserServiceServer, authv1.RegisterAuthServiceServer, policyv1.RegisterPolicyServiceServer, healthv1.RegisterHealthServer, ), )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.