operator

package
v0.0.0-...-9803d8e Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package operator .

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoublePlayerHistory

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

DoublePlayerHistory generate data details of double tournaments by player

func (*DoublePlayerHistory) Input

func (o *DoublePlayerHistory) Input(tournaments []entity.Tournament, players []entity.Player, options Option)

Input .

func (*DoublePlayerHistory) Output

func (o *DoublePlayerHistory) Output()

Output .

func (DoublePlayerHistory) SupportedFormats

func (o DoublePlayerHistory) SupportedFormats(trn *model.Tournament) bool

SupportedFormats .

type DoublePlayerRank

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

DoublePlayerRank generate statistics data of double tournaments by player

func (*DoublePlayerRank) Input

func (o *DoublePlayerRank) Input(tournaments []entity.Tournament, players []entity.Player, options Option)

Input .

func (*DoublePlayerRank) Output

func (o *DoublePlayerRank) Output()

Output .

func (DoublePlayerRank) SupportedFormats

func (o DoublePlayerRank) SupportedFormats(trn *model.Tournament) bool

SupportedFormats .

type DoubleTeamRank

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

DoubleTeamRank generate statistics data of multiple double tournaments by team

func (*DoubleTeamRank) Input

func (o *DoubleTeamRank) Input(tournaments []entity.Tournament, players []entity.Player, options Option)

Input .

func (*DoubleTeamRank) Output

func (o *DoubleTeamRank) Output()

Output .

func (DoubleTeamRank) SupportedFormats

func (o DoubleTeamRank) SupportedFormats(trn *model.Tournament) bool

SupportedFormats .

type DoubleTeamRival

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

DoubleTeamRival generate statistics data of multiple monster DYP tournaments by team

func (*DoubleTeamRival) Input

func (o *DoubleTeamRival) Input(tournaments []entity.Tournament, players []entity.Player, options Option)

Input .

func (*DoubleTeamRival) Output

func (o *DoubleTeamRival) Output()

Output .

func (DoubleTeamRival) SupportedFormats

func (o DoubleTeamRival) SupportedFormats(trn *model.Tournament) bool

SupportedFormats .

type Operator

type Operator interface {
	SupportedFormats(trn *model.Tournament) bool
	Input(tournaments []entity.Tournament, players []entity.Player, options Option)
	Output()
}

Operator .

type Option

type Option struct {
	OrderBy             string
	MinimumGamesPlayed  int
	MinimumEventsPlayed int
	ShowInactive        bool
	Head                int
	Tail                int
	PlayerName          string

	WithHeader   bool
	WithBoxes    bool
	OutputFormat string
}

Option .

type SinglePlayerHistory

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

SinglePlayerHistory generate data details of single tournaments by player

func (*SinglePlayerHistory) Input

func (o *SinglePlayerHistory) Input(tournaments []entity.Tournament, players []entity.Player, options Option)

Input .

func (*SinglePlayerHistory) Output

func (o *SinglePlayerHistory) Output()

Output .

func (SinglePlayerHistory) SupportedFormats

func (o SinglePlayerHistory) SupportedFormats(trn *model.Tournament) bool

SupportedFormats .

type SinglePlayerRank

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

SinglePlayerRank generate statistics data of double tournaments by player

func (*SinglePlayerRank) Input

func (o *SinglePlayerRank) Input(tournaments []entity.Tournament, players []entity.Player, options Option)

Input .

func (*SinglePlayerRank) Output

func (o *SinglePlayerRank) Output()

Output .

func (SinglePlayerRank) SupportedFormats

func (o SinglePlayerRank) SupportedFormats(trn *model.Tournament) bool

SupportedFormats .

type SinglePlayerRival

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

SinglePlayerRival generate statistics data of multiple monster DYP tournaments by team

func (*SinglePlayerRival) Input

func (o *SinglePlayerRival) Input(tournaments []entity.Tournament, players []entity.Player, options Option)

Input .

func (*SinglePlayerRival) Output

func (o *SinglePlayerRival) Output()

Output .

func (SinglePlayerRival) SupportedFormats

func (o SinglePlayerRival) SupportedFormats(trn *model.Tournament) bool

SupportedFormats .

Jump to

Keyboard shortcuts

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