Documentation ¶
Index ¶
- type DAL
- func (d *DAL) CompleteEventForSubscription(ctx context.Context, module, name string) error
- func (d *DAL) CreateSubscribers(ctx context.Context, key model.DeploymentKey, module *schema.Module) error
- func (d *DAL) CreateSubscriptions(ctx context.Context, key model.DeploymentKey, module *schema.Module) error
- func (d *DAL) GetSubscriptionsNeedingUpdate(ctx context.Context) ([]model.Subscription, error)
- func (d *DAL) ProgressSubscriptions(ctx context.Context, eventConsumptionDelay time.Duration) (count int, err error)
- func (d *DAL) PublishEventForTopic(ctx context.Context, module, topic, caller string, payload []byte) error
- func (d *DAL) RemoveSubscriptionsAndSubscribers(ctx context.Context, key model.DeploymentKey) error
- func (d *DAL) ResetSubscription(ctx context.Context, module, name string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAL ¶
func New ¶
func New(conn libdal.Connection, encryption *encryption.Service) *DAL
func (*DAL) CompleteEventForSubscription ¶
func (*DAL) CreateSubscribers ¶
func (*DAL) CreateSubscriptions ¶
func (*DAL) GetSubscriptionsNeedingUpdate ¶
func (*DAL) ProgressSubscriptions ¶
func (*DAL) PublishEventForTopic ¶
func (*DAL) RemoveSubscriptionsAndSubscribers ¶
Click to show internal directories.
Click to hide internal directories.