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) 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) 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) 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) 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) 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) 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) SupportedFormats ¶
func (o SinglePlayerRival) SupportedFormats(trn *model.Tournament) bool
SupportedFormats .