competitionservice

package
v0.3.0-alpha7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 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, c config.StaticConfig) Serv

Jump to

Keyboard shortcuts

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