Documentation ¶
Index ¶
Constants ¶
View Source
const ( EVENT_NO_CHANGE = 0 EVENT_OUT = 1 EVENT_MATCH_STATUS_CHANGE = 2 EVENT_OVER_CHANGED = 3 EVENT_RUN_CHANGE = 4 CRICBUZZ_URL = "http://synd.cricbuzz.com/j2me/1.0/livematches.xml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BattingTeam ¶
type Cricket ¶
type Cricket struct {
// contains filtered or unexported fields
}
func NewCricketWatcher ¶
func NewCricketWatcher(teamName string, event chan ResponseEvent) (c *Cricket)
func (*Cricket) TeamMatchStat ¶
type InningDetails ¶
type InningDetails struct {
Overs string `xml:"noofovers"`
}
type MatchStat ¶
type MatchStat struct { XMLName xml.Name `xml:"match"` Type string `xml:"type,attr"` States State `xml:"state"` Teams []Team `xml:"Tm"` BattingTeam *BattingTeam `xml:"mscr>btTm"` }
func (*MatchStat) TriggerEvent ¶
func (m *MatchStat) TriggerEvent(lastFetchedStat MatchStat, event chan ResponseEvent)
type ResponseEvent ¶
Click to show internal directories.
Click to hide internal directories.