Documentation ¶
Index ¶
- type Extractor
- func (e *Extractor) ExtractAuction(pageHTML []byte) (ogame.Auction, error)
- func (e *Extractor) ExtractCombatReportMessagesFromDoc(doc *goquery.Document) ([]ogame.CombatReportSummary, int64, error)
- func (e *Extractor) ExtractCombatReportMessagesSummary(pageHTML []byte) ([]ogame.CombatReportSummary, int64, error)
- func (e *Extractor) ExtractProduction(pageHTML []byte) ([]ogame.Quantifiable, int64, error)
- func (e *Extractor) ExtractProductionFromDoc(doc *goquery.Document) ([]ogame.Quantifiable, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
Extractor ...
func (*Extractor) ExtractAuction ¶
ExtractAuction ...
func (*Extractor) ExtractCombatReportMessagesFromDoc ¶
func (e *Extractor) ExtractCombatReportMessagesFromDoc(doc *goquery.Document) ([]ogame.CombatReportSummary, int64, error)
ExtractCombatReportMessagesFromDoc ...
func (*Extractor) ExtractCombatReportMessagesSummary ¶
func (e *Extractor) ExtractCombatReportMessagesSummary(pageHTML []byte) ([]ogame.CombatReportSummary, int64, error)
ExtractCombatReportMessagesSummary ...
func (*Extractor) ExtractProduction ¶
ExtractProduction extracts ships/defenses production from the shipyard page
func (*Extractor) ExtractProductionFromDoc ¶
ExtractProductionFromDoc extracts ships/defenses production from the shipyard page
Click to show internal directories.
Click to hide internal directories.