Documentation ¶
Index ¶
Constants ¶
View Source
const ( FTTP Nbn = "FTTP" FTTN = "FTTN" FTTC = "FTTC" FTTB = "FTTB" HFC = "HFC" Unknown = "Unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Street string `bson:"street,omitempty"` Suburb string `bson:"suburb,omitempty"` Postcode string `bson:"postcode,omitempty"` State string `bson:"state,omitempty"` }
Address is
type Location ¶
type Location struct { Latitude float32 `bson:"latitude,omitempty"` Longitude float32 `bson:"longitude,omitempty"` PlaceID string `bson:"placeid,omitempty"` }
Location is
type Property ¶
type Property struct { ID primitive.ObjectID `bson:"_id,omitempty"` Address Address `bson:"address,omitempty"` Location Location `bson:"location,omitempty"` Price string `bson:"price,omitempty"` Layout PropertyConfiguration `bson:"layout,omitempty"` RawScore PropertyScore `bson:"rawscore,omitempty"` References []Reference `bson:"references,omitempty"` Tags []string `bson:"tags,omitempty"` Notes string `bson:"notes,omitempty"` }
Property is
type PropertyConfiguration ¶
type PropertyConfiguration struct { Bedrooms int32 `bson:"bedrooms,omitempty"` Bathrooms int32 `bson:"bathrooms,omitempty"` Parking int32 `bson:"parking,omitempty"` ExtraRooms bool `bson:"extrarooms,omitempty"` Nbn Nbn `bson:"nbn,omitempty"` }
PropertyConfiguration is
Click to show internal directories.
Click to hide internal directories.