Documentation
¶
Index ¶
- type Impl
- func (service *Impl) DeleteAlmanaxWebhooks(webhooks []entities.WebhookAlmanax) error
- func (service *Impl) DeleteFeedWebhooks(webhooks []entities.WebhookFeed) error
- func (service *Impl) DeleteTwitterWebhooks(webhooks []entities.WebhookTwitter) error
- func (service *Impl) GetAlmanaxWebhooks(locale amqp.Language) ([]entities.WebhookAlmanax, error)
- func (service *Impl) GetFeedWebhooks(feedTypeID string, locale amqp.Language) ([]entities.WebhookFeed, error)
- func (service *Impl) GetTwitterWebhooks(locale amqp.Language) ([]entities.WebhookTwitter, error)
- func (service *Impl) UpdateAlmanaxWebhooks(webhooks []entities.WebhookAlmanax) error
- func (service *Impl) UpdateFeedWebhooks(webhooks []entities.WebhookFeed) error
- func (service *Impl) UpdateTwitterWebhooks(webhooks []entities.WebhookTwitter) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
func New ¶
func New(webhooksRepo webhooks.Repository) *Impl
func (*Impl) DeleteAlmanaxWebhooks ¶
func (service *Impl) DeleteAlmanaxWebhooks(webhooks []entities.WebhookAlmanax) error
func (*Impl) DeleteFeedWebhooks ¶
func (service *Impl) DeleteFeedWebhooks(webhooks []entities.WebhookFeed) error
func (*Impl) DeleteTwitterWebhooks ¶
func (service *Impl) DeleteTwitterWebhooks(webhooks []entities.WebhookTwitter) error
func (*Impl) GetAlmanaxWebhooks ¶
func (*Impl) GetFeedWebhooks ¶
func (*Impl) GetTwitterWebhooks ¶
func (*Impl) UpdateAlmanaxWebhooks ¶
func (service *Impl) UpdateAlmanaxWebhooks(webhooks []entities.WebhookAlmanax) error
func (*Impl) UpdateFeedWebhooks ¶
func (service *Impl) UpdateFeedWebhooks(webhooks []entities.WebhookFeed) error
func (*Impl) UpdateTwitterWebhooks ¶
func (service *Impl) UpdateTwitterWebhooks(webhooks []entities.WebhookTwitter) error
type Service ¶
type Service interface { GetAlmanaxWebhooks(locale amqp.Language) ([]entities.WebhookAlmanax, error) GetFeedWebhooks(feedTypeID string, locale amqp.Language) ([]entities.WebhookFeed, error) GetTwitterWebhooks(locale amqp.Language) ([]entities.WebhookTwitter, error) UpdateAlmanaxWebhooks(webhooks []entities.WebhookAlmanax) error UpdateFeedWebhooks(webhooks []entities.WebhookFeed) error UpdateTwitterWebhooks(webhooks []entities.WebhookTwitter) error DeleteAlmanaxWebhooks(webhooks []entities.WebhookAlmanax) error DeleteFeedWebhooks(webhooks []entities.WebhookFeed) error DeleteTwitterWebhooks(webhooks []entities.WebhookTwitter) error }
Click to show internal directories.
Click to hide internal directories.