Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeysMessageID = "gap-msg-id" KeysMessageType = "gap-msg-type" KeysGroup = "gap-group" KeysCorrelationID = "gap-corr-id" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventPublisher ¶
type EventPublisher interface {
Bind(txer txer.Txer) (EventPublisher, error)
Publish(ctx context.Context, event Event, args ...any) error
OptionsGetter
}
type GroupedSubs ¶
type GroupedSubs struct {
HandlerOtpsLst []gap.HandlerOptions
DependencyOtpsLst []gap.DependencyOptions
// contains filtered or unexported fields
}
func SingleGroupedSubs ¶
func SingleGroupedSubs() *GroupedSubs
func (*GroupedSubs) AddDependencyOtps ¶
func (g *GroupedSubs) AddDependencyOtps(lst []gap.DependencyOptions)
func (*GroupedSubs) AddHandlerOtps ¶
func (g *GroupedSubs) AddHandlerOtps(lst []gap.HandlerOptions)
func (*GroupedSubs) ListeningAll ¶
func (g *GroupedSubs) ListeningAll() error
func (*GroupedSubs) SubscribeAll ¶
func (g *GroupedSubs) SubscribeAll(gapOpts *gap.Options) error
type OptionsGetter ¶
type Pub ¶
type Pub[T any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.