Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func GetSubscriberByConfig ¶
func GetSubscriberByConfig( ctx context.Context, cfg *config.Config, wmLogger watermill.LoggerAdapter, logger *zap.Logger, ) (*Subscriber, error)
func NewSubscriber ¶
func NewSubscriber(c context.Context, sub message.Subscriber, logger *zap.Logger) *Subscriber
func (*Subscriber) Close ¶
func (s *Subscriber) Close() error
Click to show internal directories.
Click to hide internal directories.