Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide( func( logger *zap.Logger, setting mmfx.MatchmakingSettingParams, agonesClient agonesfx.AllocateParams, awsConfig cloudfx.AWSConfigParams, ) (out sfx.GrpcServiceResult, err error) { if svc, e := CreateService( logger, setting.OMFrontendUrl, setting.OMBackendUrl, setting.OMFuncUrl, setting.OMFuncPort, agonesClient.AllocateClient, globalaccelerator.NewFromConfig(awsConfig.Config), setting.AWSVPCSubnets, ); e != nil { err = e } else { out.GrpcService = svc } return })
Functions ¶
This section is empty.
Types ¶
type Director ¶
type Director struct {
// contains filtered or unexported fields
}
func CreateDirector ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func CreateService ¶
func CreateService( logger *zap.Logger, omFrontend, omBackend string, funcUrl string, funcPort int32, agonesClient allocation.AllocationServiceClient, accCli *globalaccelerator.Client, subNet string, ) (*Service, error)
func (*Service) Match ¶
func (s *Service) Match(request *matchmaking.MatchRequest, server grpc.ServerStreamingServer[matchmaking.MatchResponse]) error
func (*Service) RegisterWithGrpcServer ¶
func (s *Service) RegisterWithGrpcServer(server siface.IGrpcServer) error
Click to show internal directories.
Click to hide internal directories.