notifystorage

package
v0.0.0-...-c6a46fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotificationChannelsStorage

func NewNotificationChannelsStorage(db *gorm.DB, logger *logging.Logger) notifysvc.NotificationChannelsStorage

func NewNotificationRulesStorage

func NewNotificationRulesStorage(db *gorm.DB, logger *logging.Logger) notifysvc.NotificationRulesStorage

func NewTableGenerators

func NewTableGenerators() table.GeneratorList

func NewWebhooksStorage

func NewWebhooksStorage(db *gorm.DB, logger *logging.Logger) notifysvc.WebhooksStorage

Types

type Storages

type Storages struct {
	// contains filtered or unexported fields
}

func NewStorages

func NewStorages(db *gorm.DB, logger *logging.Logger, processors []txoutbox.MessageProcessor) *Storages

func (Storages) ExecuteInTransaction

func (s Storages) ExecuteInTransaction(ctx context.Context, cb func(ctx context.Context, tx notifysvc.Storage) error) error

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

func (*Storages) WithAdvisoryLock

func (s *Storages) WithAdvisoryLock(ctx context.Context, scope string, lockID int64) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL