Documentation ¶
Index ¶
- func AlertMessage(a models.Alert) string
- func BaseOuts() []models.BaseOut
- func BaseRunnerStateMessage(b int) string
- func BattingMessage(halfInning, batter, awayHashtag, homeHashtag string) string
- func GameState(inning int, top bool, run_diff int) int
- func GameStateToInt(gs string) int
- func GameStates() []models.GameState
- func GetTwitterCredentials(w http.ResponseWriter, r *http.Request) models.Credentials
- func LeverageIndex(bo int, gs int) float64
- func MasterScoreBoardURL(time time.Time) string
- func MasterScoreboard(time time.Time, r *http.Request) models.Scoreboard
- func MlbApiMlbTvLinkToUrl(g int) string
- func OutsMessage(o int) string
- func Teams() []models.Team
- func Tweet(s string, w http.ResponseWriter, r *http.Request)
- type Twitter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertMessage ¶
func BaseRunnerStateMessage ¶
0:none; 1:1b; 2:2b; 3:3b; 4:1b,2b; 5:1b,3b; 6:2b,3b; 7:1b,2b,3b
func BattingMessage ¶
func GameStateToInt ¶
func GameStates ¶
func GetTwitterCredentials ¶
func GetTwitterCredentials(w http.ResponseWriter, r *http.Request) models.Credentials
func LeverageIndex ¶
func MasterScoreBoardURL ¶
func MasterScoreboard ¶
func MlbApiMlbTvLinkToUrl ¶
func OutsMessage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.