Documentation ¶
Index ¶
- type NotificationService
- type PNGRepository
- type SubscriptionRepository
- func (r *SubscriptionRepository) FindBySubscriptionID(ctx context.Context, userID domain.UserID, ...) (*domain.Subscription, error)
- func (r *SubscriptionRepository) FindByUserID(ctx context.Context, userID domain.UserID) ([]domain.Subscription, error)
- func (r *SubscriptionRepository) Save(ctx context.Context, userID domain.UserID, subscriptions []domain.Subscription) error
- type UserRepository
- type WeatherService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationService ¶
type NotificationService struct {
Client infrastructure.SlackClient
}
func (*NotificationService) SendForecastMessage ¶
type PNGRepository ¶
type PNGRepository struct{}
func (*PNGRepository) RemoveOlderThan ¶
type SubscriptionRepository ¶
type SubscriptionRepository struct{}
func (*SubscriptionRepository) FindBySubscriptionID ¶
func (r *SubscriptionRepository) FindBySubscriptionID(ctx context.Context, userID domain.UserID, subscriptionID domain.SubscriptionID) (*domain.Subscription, error)
func (*SubscriptionRepository) FindByUserID ¶
func (r *SubscriptionRepository) FindByUserID(ctx context.Context, userID domain.UserID) ([]domain.Subscription, error)
func (*SubscriptionRepository) Save ¶
func (r *SubscriptionRepository) Save(ctx context.Context, userID domain.UserID, subscriptions []domain.Subscription) error
type UserRepository ¶
type UserRepository struct{}
type WeatherService ¶
type WeatherService struct {
Client infrastructure.WeatherClient
}
Directories ¶
Path | Synopsis |
---|---|
mock_gateways
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.