Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUService ¶
func NewCPUService ¶
func NewCPUService() CPUService
type MemoryService ¶
func NewMemoryService ¶
func NewMemoryService() MemoryService
type UptimeService ¶
type UptimeService interface {
GetUptime() string
}
func NewUptimeService ¶
func NewUptimeService() UptimeService
type WeatherService ¶
type WeatherService struct { HttpClient contract.HttpClient BaseURL string }
func NewWeatherService ¶
func NewWeatherService(client *http.Client, baseURL string) *WeatherService
func (*WeatherService) GetWeather ¶
func (s *WeatherService) GetWeather(ctx context.Context, cep string) (domain.WeatherResponse, error)
Click to show internal directories.
Click to hide internal directories.