Documentation ¶
Index ¶
Constants ¶
View Source
const ( NoObservation = ObservationOption(0) OneHourObservation = ObservationOption(1) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForecastMessage ¶
type NotificationService ¶
type ObservationOption ¶
type ObservationOption int
type PNGRepository ¶
type SubscriptionRepository ¶
type SubscriptionRepository interface { FindBySubscriptionID(ctx context.Context, userID domain.UserID, subscriptionID domain.SubscriptionID) (*domain.Subscription, error) FindByUserID(ctx context.Context, userID domain.UserID) ([]domain.Subscription, error) Save(ctx context.Context, userID domain.UserID, subscriptions []domain.Subscription) error }
type UserRepository ¶
type WeatherService ¶
type WeatherService interface {
Get(ctx context.Context, clientID domain.YahooClientID, locations []domain.Location, observationOption ObservationOption) ([]domain.Weather, error)
}
Directories ¶
Path | Synopsis |
---|---|
Package mock_gateways is a generated GoMock package.
|
Package mock_gateways is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.