Documentation ¶
Index ¶
- Variables
- func Init(database *bolt.DB, communicationChannel chan *models.House, ...)
- func TickerCheck(ctx context.Context, ctxCancel context.CancelFunc)
- type Address
- type Detail
- type Features
- type FotocasaHouse
- type FotocasaHouses
- type HouseDetail
- type Location
- type LocationSegments
- type Transactions
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HouseChan chan *models.House
)
Functions ¶
func Init ¶
func Init(database *bolt.DB, communicationChannel chan *models.House, configuration models.Fotocasa, searchFilters models.Filters)
Init Fotocasa
func TickerCheck ¶
func TickerCheck(ctx context.Context, ctxCancel context.CancelFunc)
TickerCheck ...
Types ¶
type Address ¶
type Address struct { Ubication string `js:"-" json:"ubication"` Location map[string]string `js:"-" json:"location"` Coordinates models.Coordinates `js:"-" json:"coordinates"` }
type Detail ¶
type Detail struct { IDs string `js:"-" json:"es"` Coordinates models.Coordinates `js:"-" json:"coordinates"` LocationLiteral string `js:"-" json:"locationLiteral"` }
type FotocasaHouse ¶
type FotocasaHouse struct { ID int64 `js:"-" json:"id"` New bool `js:"-" json:"isNew"` Premium bool `js:"-" json:"isPremium"` Advertiser map[string]interface{} `js:"-" json:"advertiser"` Detail HouseDetail `js:"-" json:"detail"` Multimedias []interface{} `js:"-" json:"multimedias"` Features []Features `js:"-" json:"features"` OtherFeatures []interface{} `js:"-" json:"otherFeatures"` Transactions []Transactions `js:"-" json:"transactions"` Products []interface{} `js:"-" json:"products"` Address Address `js:"-" json:"address"` Date time.Time `js:"-" json:"date"` Description string `js:"-" json:"description"` }
type FotocasaHouses ¶
type FotocasaHouses struct { Count int64 `js:"-" json:"count"` Houses []FotocasaHouse `js:"-" json:"realEstates"` }
type HouseDetail ¶
type HouseDetail struct {
ES string `js:"-" json:"es"`
}
type Location ¶
type Location struct { Location string `js:"-" json:"location"` Zone string `js:"-" json:"zone"` Text string `js:"-" json:"text"` }
Location ...
type LocationSegments ¶
type LocationSegments struct { IDs string `js:"-" json:"ids"` Coordinates models.Coordinates `js:"-" json:"coordinates"` LocationLiteral string `js:"-" json:"locationLiteral"` }
LocationSegments ...
type Transactions ¶
Click to show internal directories.
Click to hide internal directories.