Documentation
¶
Index ¶
- func GetFromFile(p string, into any) error
- type ActivePropertiesData
- type ActivePropertiesResponse
- type BannersResponse
- type BrokersResponse
- type CondominiumsResponse
- type PropertiesResponse
- type Requester
- func (r Requester) GetActiveProperties() ([]int, error)
- func (r Requester) GetBanners() ([]model.Banner, error)
- func (r Requester) GetBrokers() ([]model.Broker, error)
- func (r Requester) GetCondominiums() ([]model.Condominium, error)
- func (r Requester) GetProperties(startDate *time.Time) ([]model.Property, error)
- func (r *Requester) SetWebserviceKey(k string)
- type RoutePath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFromFile ¶
Types ¶
type ActivePropertiesData ¶
type ActivePropertiesResponse ¶
type ActivePropertiesResponse model.PaginatedResponse[ActivePropertiesData]
type BannersResponse ¶
type BannersResponse model.PaginatedResponse[[]model.Banner]
type BrokersResponse ¶
type BrokersResponse model.PaginatedResponse[[]model.Broker]
type CondominiumsResponse ¶
type CondominiumsResponse model.PaginatedResponse[[]model.Condominium]
type PropertiesResponse ¶
type PropertiesResponse model.PaginatedResponse[[]model.Property]
type Requester ¶
type Requester struct {
// contains filtered or unexported fields
}
func NewRequester ¶
func (Requester) GetActiveProperties ¶
func (Requester) GetCondominiums ¶
func (r Requester) GetCondominiums() ([]model.Condominium, error)
func (Requester) GetProperties ¶
func (*Requester) SetWebserviceKey ¶
Click to show internal directories.
Click to hide internal directories.