Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPropertiesParams ¶
func ParseQueryParams ¶
func ParseQueryParams(r *http.Request) (GetPropertiesParams, error)
type GetPropertiesResponse ¶
type GetPropertiesResponse struct { Properties []database2.ListPropertyListingsRow Total int64 }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewPropertiesHandler ¶
func (*Handler) GetProperties ¶
func (h *Handler) GetProperties(w http.ResponseWriter, r *http.Request)
func (*Handler) HandlePropertySearch ¶
func (h *Handler) HandlePropertySearch(w http.ResponseWriter, r *http.Request)
type SearchRequest ¶
type SearchRequest struct {
Query string `json:"query"`
}
Click to show internal directories.
Click to hide internal directories.