frontend

package
v0.0.0-...-cf826ce Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service implements the FrontendService APIs

func NewService

func NewService(queues []string, ticketsManager tickets.Manager) *Service

NewService returns a new Service

func (*Service) Close

func (s *Service) Close()

Close shuts down database connections

func (*Service) Match

Match assigns a unique TicketId to the input Ticket and record it in state storage. A ticket is considered as ready for matchmaking once it is created.

  • The ticket is tested against Match Profiles for membership and is added to a stream for the relevant profile, if no profile is matched an error is returned.

Jump to

Keyboard shortcuts

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