Documentation ¶
Index ¶
Constants ¶
View Source
const TimeFormat = "02-01-2006"
Variables ¶
View Source
var Months = [...]string{"january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"}
Functions ¶
This section is empty.
Types ¶
type BetService ¶
type BetService interface { ParseRequestAndCheckToken(*http.Request) error StartNewBet(string) (string, error) EndBet(string) (string, error) SaveBet(string, int, string) (string, error) ListBets() (string, error) GetBetInfo(int) (string, error) GetBetInfoForMonth(int) (string, error) CalculateWhoWins(int) (string, error) SaveWinner(int, int) (string, error) GetLastEndedBetInfo() (string, error) ListAbsentUsers() (string, error) IsAuthorizedUser(string) bool }
Click to show internal directories.
Click to hide internal directories.