competitionservice

package
v0.3.7-alpha2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLoadCompetition = errors.New("failed to load the competition")
)

Functions

This section is empty.

Types

type Serv

type Serv interface {
	LoadCompetition(ctx context.Context, competition *competition.Competition) error
	FetchCoreCompetition(ctx context.Context) (*competition.Competition, error)
	FetchEntireCompetition(ctx context.Context) (*competition.Competition, error)
	ResetScores(ctx context.Context) error
	DeleteCompetition(ctx context.Context) error
}

func NewCompetitionServ

func NewCompetitionServ(str *util.Store, cfg queueing.Config) Serv

Jump to

Keyboard shortcuts

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