biznetzach

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewSystemNotificationTopic added in v0.2.10

func NewSystemNotificationTopic(
	repo NetzachRepo,
	searcher *client.Searcher,
) *libmq.Topic[modelnetzach.SystemNotify]

Types

type Netzach

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

func (*Netzach) CreateNotifyFlow

func (n *Netzach) CreateNotifyFlow(ctx context.Context, flow *modelnetzach.NotifyFlow) (
	model.InternalID, *errors.Error)

func (*Netzach) CreateNotifyTarget

func (n *Netzach) CreateNotifyTarget(ctx context.Context, target *modelnetzach.NotifyTarget) (
	model.InternalID, *errors.Error)

func (*Netzach) ListNotifyFlows

func (n *Netzach) ListNotifyFlows(
	ctx context.Context,
	paging model.Paging,
	ids []model.InternalID,
) ([]*modelnetzach.NotifyFlow, int64, *errors.Error)

func (*Netzach) ListNotifyTargets

func (n *Netzach) ListNotifyTargets(
	ctx context.Context,
	paging model.Paging,
	ids []model.InternalID,
	statuses []modelnetzach.NotifyTargetStatus,
) ([]*modelnetzach.NotifyTarget, int64, *errors.Error)

func (*Netzach) ListSystemNotifications added in v0.2.10

func (*Netzach) UpdateNotifyFlow

func (n *Netzach) UpdateNotifyFlow(ctx context.Context, flow *modelnetzach.NotifyFlow) *errors.Error

func (*Netzach) UpdateNotifyTarget

func (n *Netzach) UpdateNotifyTarget(ctx context.Context, target *modelnetzach.NotifyTarget) *errors.Error

Jump to

Keyboard shortcuts

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