Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler representa um manipulador HTTP.
func NewHandler ¶
func NewHandler( viaCepService service.ViaCepServiceInterface, weatherApiService service.WeatherApiServiceInterface, ) *Handler
NewHandler cria uma nova instância do manipulador.
func (*Handler) GetTemperatures ¶
func (h *Handler) GetTemperatures(w http.ResponseWriter, r *http.Request)
GetTemperatures manipula a solicitação para obter temperaturas com base no CEP fornecido.
Click to show internal directories.
Click to hide internal directories.