matches

package
v0.0.0-...-c39517e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUnassignedMatchesTopic

func GetUnassignedMatchesTopic() string

GetUnassignedMatchesTopic returns the topic for match proposals

Types

type Manager

type Manager interface {
	CreateMatch(ctx context.Context, match *pb.Match) (bool, error)
	StreamMatches(ctx context.Context, f func(ctx context.Context, match *pb.Match)) error
	Requeue(matchID string) error
	Close()
}

Manager interface specifies the methods needed to manage match state

func NewManager

func NewManager(ticketsManager tickets.Manager, kvStore kv.Store, streamClient stream.Client) Manager

NewManager returns a match Manager

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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