Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCPUService ¶
func (*MockCPUService) GetCPUStats ¶
func (m *MockCPUService) GetCPUStats() (int, []float64, error)
type MockCepService ¶
type MockCepService struct {
GetLocationFunc func(ctx context.Context, cep string) (domain.CepResponse, error)
}
func (*MockCepService) GetLocation ¶
func (m *MockCepService) GetLocation(ctx context.Context, cep string) (domain.CepResponse, error)
type MockHTTPClient ¶
type MockMemoryService ¶
type MockMemoryService struct {
GetMemoryStatsFunc func() (uint64, uint64, uint64, uint64, float64, error)
}
func (*MockMemoryService) GetMemoryStats ¶
type MockWeatherService ¶
type MockWeatherService struct {
GetWeatherFunc func(ctx context.Context, location string) (domain.WeatherResponse, error)
}
func (*MockWeatherService) GetWeather ¶
func (m *MockWeatherService) GetWeather(ctx context.Context, location string) (domain.WeatherResponse, error)
Click to show internal directories.
Click to hide internal directories.