Documentation ¶
Index ¶
- func ExtractConstructions(pageHTML []byte, clock clockwork.Clock) (buildingID ogame.ID, buildingCountdown int64, researchID ogame.ID, ...)
- type Extractor
- func (e *Extractor) ExtractConstructions(pageHTML []byte) (buildingID ogame.ID, buildingCountdown int64, researchID ogame.ID, ...)
- func (e *Extractor) ExtractFleets(pageHTML []byte) (res []ogame.Fleet)
- func (e *Extractor) ExtractFleetsFromDoc(doc *goquery.Document) (res []ogame.Fleet)
- func (e Extractor) ExtractOverviewShipSumCountdownFromBytes(pageHTML []byte) int64
- func (e *Extractor) ExtractProduction(pageHTML []byte) ([]ogame.Quantifiable, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extractor ¶
Extractor ...
func (*Extractor) ExtractConstructions ¶
func (e *Extractor) ExtractConstructions(pageHTML []byte) (buildingID ogame.ID, buildingCountdown int64, researchID ogame.ID, researchCountdown int64, lfBuildingID ogame.ID, lfBuildingCountdown int64, lfResearchID ogame.ID, lfResearchCountdown int64)
ExtractConstructions ...
func (*Extractor) ExtractFleets ¶
ExtractFleets ...
func (*Extractor) ExtractFleetsFromDoc ¶
ExtractFleetsFromDoc ...
func (Extractor) ExtractOverviewShipSumCountdownFromBytes ¶
ExtractOverviewShipSumCountdownFromBytes ...
func (*Extractor) ExtractProduction ¶
ExtractProduction extracts ships/defenses production from the shipyard page
Click to show internal directories.
Click to hide internal directories.