Documentation
¶
Index ¶
- func ErroneousEventsFromPb(data []*managementpb.ErroneousEvent) ([]*dto.ErroneousEvent, error)
- func Iterate[T any](ctx context.Context, handle func(ctx context.Context, data T) error, ...) error
- func Retry(fn func() error, pause time.Duration, maxRetries int) error
- func RetryWithResult[T any](fn func() (T, error), pause time.Duration, maxRetries int) (T, error)
- func SubscriptionEventFromPb(data *managementpb.Event) (*dto.SubscriptionEvent, error)
- func SubscriptionEventsFromPb(data []*managementpb.Event) ([]*dto.SubscriptionEvent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErroneousEventsFromPb ¶ added in v0.45.0
func ErroneousEventsFromPb(data []*managementpb.ErroneousEvent) ([]*dto.ErroneousEvent, error)
func RetryWithResult ¶
func SubscriptionEventFromPb ¶
func SubscriptionEventFromPb(data *managementpb.Event) (*dto.SubscriptionEvent, error)
func SubscriptionEventsFromPb ¶
func SubscriptionEventsFromPb(data []*managementpb.Event) ([]*dto.SubscriptionEvent, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.