Documentation ¶
Index ¶
- type SqlDbExporter
- func (p *SqlDbExporter) AddTournamentIfNotPresent(tournamentName string) (*uuid.UUID, error)
- func (p *SqlDbExporter) Connect(driver string, dataSourceName string) error
- func (p *SqlDbExporter) FindMatchId(logFileName string) *uuid.UUID
- func (p *SqlDbExporter) FindTournamentId(tournamentName string) (*uuid.UUID, error)
- func (p *SqlDbExporter) WriteGamePhases(matchStats *matchstats.MatchStats, matchId *uuid.UUID) error
- func (p *SqlDbExporter) WriteMatches(matchStatsCollection *matchstats.MatchStatsCollection, tournamentId *uuid.UUID, ...) error
- func (p *SqlDbExporter) WriteTeamStats(matchStats *matchstats.MatchStats, matchId *uuid.UUID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlDbExporter ¶
type SqlDbExporter struct {
// contains filtered or unexported fields
}
func (*SqlDbExporter) AddTournamentIfNotPresent ¶
func (p *SqlDbExporter) AddTournamentIfNotPresent(tournamentName string) (*uuid.UUID, error)
func (*SqlDbExporter) Connect ¶
func (p *SqlDbExporter) Connect(driver string, dataSourceName string) error
func (*SqlDbExporter) FindMatchId ¶
func (p *SqlDbExporter) FindMatchId(logFileName string) *uuid.UUID
func (*SqlDbExporter) FindTournamentId ¶
func (p *SqlDbExporter) FindTournamentId(tournamentName string) (*uuid.UUID, error)
func (*SqlDbExporter) WriteGamePhases ¶
func (p *SqlDbExporter) WriteGamePhases(matchStats *matchstats.MatchStats, matchId *uuid.UUID) error
func (*SqlDbExporter) WriteMatches ¶
func (p *SqlDbExporter) WriteMatches(matchStatsCollection *matchstats.MatchStatsCollection, tournamentId *uuid.UUID, division string) error
func (*SqlDbExporter) WriteTeamStats ¶
func (p *SqlDbExporter) WriteTeamStats(matchStats *matchstats.MatchStats, matchId *uuid.UUID) error
Click to show internal directories.
Click to hide internal directories.