grpcsvc

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matchmaker added in v0.19.0

type Matchmaker interface {
	RequestMatch(ctx context.Context, playerID, playerAddr string) (<-chan []string, error)
}

Matchmaker interface for matchmaking logic

type MatchmakingService

type MatchmakingService struct {
	matchmakingv1.UnimplementedMatchmakingServiceServer
	// contains filtered or unexported fields
}

MatchmakingService holds matchmaking service logic

func NewMatchmakingService added in v0.19.0

func NewMatchmakingService(m Matchmaker) *MatchmakingService

NewMatchmakingService creates a new instance of MatchmakingService with provided matchmaker

func (*MatchmakingService) RequestMatch added in v0.19.0

RequestMatch implements the MatchmakingService server method, delegates to the internal matchmaker

Jump to

Keyboard shortcuts

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