package
2.7.0+incompatible
Repository: https://github.com/kcapp/api.git
Documentation: pkg.go.dev

# Functions

DecorateVisitsScam will add information about stopper/scorer to each visit.
GetConfig loads configuration from yaml file.
GetHitsMap will return a map where key is dart and value is count of single,double,triple hits.
InitDB will initialize the database with the given datasource.
NewDart will return a new dart with the given settings.
Transaction runs the given function and calls Commit/Rollback as needed.

# Constants

AROUNDTHECLOCK constant representing type 8.
AROUNDTHEWORLD constant representing type 6.
BERMUDATRIANGLE constant representing type 10.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CRICKET constant representing type 4.
DARTSATX constant representing type 5.
DOUBLE const representing double.
FOURTWENTY constant representing type 11.
GOTCHA constant representing type 13.
JDCPRACTICE constant representing type 14.
KILLBULL constant representing type 12.
KNOCKOUT constant representing type 15.
OUTSHOTANY constant representing Any Out.
OUTSHOTDOUBLE constant representing Double Out.
OUTSHOTMASTER constant representing Master Out.
SCAM constant representing type 16.
SHANGHAI constant representing type 7.
SHOOTOUT constant representing type 2.
SINGLE const representing single.
TICTACTOE constant representing type 9.
TRIPLE const representing triple.
X01 constant representing type 1.
X01HANDICAP constant representing type 3.

# Variables

CRICKETDARTS var holding darts aimed at in a game of Cricket.
DB point to our database.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Targets420 contains the target for each round of 420.
TargetsBermudaTriangle contains the target for each round of Bermuda Triangle.
TargetsJDCPractice contains the target for each round of JDC Practice.
TicTacToeWinningCombos contains all winning combincations for tic tac toe.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AccuracyStatistics struct used for storing accuracy statistics.
APIConfig struct config.
Badge represents a badge model.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BadgeStatistics struct used for storing badge statistics.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BestStatistic struct used for storing a value and leg where the statistic was achieved.
BestStatisticFloat struct used for storing a value and leg where the statistic was achieved.
BotConfig struct used for storing bot configuration.
CheckoutStatistics stuct used for storing detailed checkout statistics.
Config type.
Dart struct used for storing darts.
DBConfig stuct config.
Entry
Entry is a time entry.
Feed is an iCal feed.
GlobalStatistics struct used for storing global statistics.
Hits struct used to store summary of hits for players/legs.
Leg struct used for storing legs.
LegParameters struct used for storing leg parameters.
Match struct used for storing matches.
MatchConfigError used when starting a match with incorrect configuration.
MatchMetadata struct used for storing metadata about matches.
MatchMode struct used for storing match modes.
MatchPreset struct used for storing a match preset.
No description provided by the author
MatchTournament struct for storing tournament information.
MatchType struct used for storing match types.
Office struct used for storing offices.
OfficeStatistics struct used for storing statistics for a office.
OutshotType struct used for storing outshot types.
Owe struct used for storing owes.
OweType struct used for storing owe types.
Player struct used for storing players.
Player2Leg struct used for storing players in a leg.
Player2Tournament struct for storing player to tounament links.
PlayerBadge represents a Player2Badge model.
PlayerElo struct used for storing elo information.
PlayerEloChangelog struct used for storing elo changelog information.
PlayerEloChangelogs struct used for storing elo changelog information.
PlayerModifiers struct used for storing visit modifiers for a player.
No description provided by the author
PlayerStatistics used to store player statistics.
PlayerTournamentStanding struct for storing player tournament standings.
Probability struct used for storing matches.
Statistics420 struct used for storing statistics for 420.
StatisticsAroundThe struct used for storing statistics for around the world/clock/shanghai.
StatisticsBermudaTriangle struct used for storing statistics for Bermuda Triangle.
StatisticsCricket struct used for storing statistics for cricket.
StatisticsDartsAtX struct used for storing statistics for cricket.
StatisticsGotcha struct used for storing statistics for Gotcha.
StatisticsHead2Head struct used for storing head to head statistics.
StatisticsJDCPractice struct used for storing statistics for JDC Practice Routine.
StatisticsKillBull struct used for storing statistics for kill bull.
StatisticsKnockout struct used for storing statistics for Knockout.
StatisticsJDCPractice struct used for storing statistics for JDC Practice Routine.
StatisticsShootout struct used for storing statistics for shootout legs.
StatisticsTicTacToe struct used for storing statistics for tic tac toe.
StatisticsX01 struct used for storing statistics.
Target contains information about value and multipler required to hit for a given round.
Tournament struct for storing tournaments.
TournamentGeneralStatistics struct for storing tournament statistics.
TournamentGroup struct for storing tournament groups.
No description provided by the author
TournamentOverview stuct for storing tournament overview.
No description provided by the author
No description provided by the author
TournamentStanding struct for stroring final tournament standings.
TournamentStatistics struct for storing tournament statistics.
Venue struct used for storing venues.
VenueConfig struct used for storing venue configuration.
Visit struct used for storing legs.
VisitStatistics tells about the.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Entries is a collection of entries.
No description provided by the author