handlerfx

package
v0.3.8-alpha1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GrpcModule = fx.Options(

	fx.Provide(
		fx.Annotate(handler.NewHealthV1Controller, fx.As(new(healthv1.HealthServer))),
		fx.Annotate(handler.NewPolicyV1Controller, fx.As(new(policyv1.PolicyServiceServer))),
		fx.Annotate(handler.NewAuthV1Controller, fx.As(new(authv1.AuthServiceServer))),
		fx.Annotate(handler.NewUserV1Controller, fx.As(new(userv1.UserServiceServer))),
		fx.Annotate(handler.NewUserV2Controller, fx.As(new(userv2.UserServiceServer))),
		fx.Annotate(handler.NewTeamV1Controller, fx.As(new(teamv1.TeamServiceServer))),
		fx.Annotate(handler.NewServiceV1Controller, fx.As(new(servicev1.ServiceServiceServer))),
		fx.Annotate(handler.NewServiceGroupV1Controller, fx.As(new(service_groupv1.ServiceGroupServiceServer))),
		fx.Annotate(handler.NewRoundV1Controller, fx.As(new(roundv1.RoundServiceServer))),
		fx.Annotate(handler.NewReportV1Controller, fx.As(new(reportv1.ReportServiceServer))),
		fx.Annotate(handler.NewPropertyV1Controller, fx.As(new(propertyv1.PropertyServiceServer))),
		fx.Annotate(handler.NewHostGroupV1Controller, fx.As(new(host_groupv1.HostGroupServiceServer))),
		fx.Annotate(handler.NewHostV1Controller, fx.As(new(hostv1.HostServiceServer))),
		fx.Annotate(handler.NewStaticConfigV1Controller, fx.As(new(configv1.StaticConfigServiceServer))),
		fx.Annotate(handler.NewConfigV1Controller, fx.As(new(configv1.DynamicConfigServiceServer))),
		fx.Annotate(handler.NewCompetitionV1Controller, fx.As(new(competitionv1.CompetitionServiceServer))),
		fx.Annotate(handler.NewCheckV1Controller, fx.As(new(checkv1.CheckServiceServer))),
	),

	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,
		userv2.RegisterUserServiceServer,
		authv1.RegisterAuthServiceServer,
		policyv1.RegisterPolicyServiceServer,
		healthv1.RegisterHealthServer,
	),
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL