Documentation
¶
Index ¶
- func NewNotificationChannelsStorage(db *gorm.DB, logger *logging.Logger) notifysvc.NotificationChannelsStorage
- func NewNotificationRulesStorage(db *gorm.DB, logger *logging.Logger) notifysvc.NotificationRulesStorage
- func NewTableGenerators() table.GeneratorList
- func NewWebhooksStorage(db *gorm.DB, logger *logging.Logger) notifysvc.WebhooksStorage
- type Storages
- func (s Storages) ExecuteInTransaction(ctx context.Context, cb func(ctx context.Context, tx notifysvc.Storage) error) error
- func (s Storages) IdempotencyKeys() idempotency.Storage
- func (s Storages) NotificationChannels() notifysvc.NotificationChannelsStorage
- func (s Storages) NotificationRules() notifysvc.NotificationRulesStorage
- func (s Storages) Webhooks() notifysvc.WebhooksStorage
- func (s *Storages) WithAdvisoryLock(ctx context.Context, scope string, lockID int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTableGenerators ¶
func NewTableGenerators() table.GeneratorList
func NewWebhooksStorage ¶
Types ¶
type Storages ¶
type Storages struct {
// contains filtered or unexported fields
}
func NewStorages ¶
func (Storages) ExecuteInTransaction ¶
func (Storages) IdempotencyKeys ¶
func (s Storages) IdempotencyKeys() idempotency.Storage
func (Storages) NotificationChannels ¶
func (s Storages) NotificationChannels() notifysvc.NotificationChannelsStorage
func (Storages) NotificationRules ¶
func (s Storages) NotificationRules() notifysvc.NotificationRulesStorage
func (Storages) Webhooks ¶
func (s Storages) Webhooks() notifysvc.WebhooksStorage
Click to show internal directories.
Click to hide internal directories.