Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueueValue ¶
func QueueValue() string
func SubjectsValue ¶
func SubjectsValue() []string
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func NewDefaultHelper ¶
func NewDefaultHelper(ctx context.Context, subscriber *nats.Subscriber, handler *cloudevents.HandlerWrapper) *Helper
func NewHelper ¶
func NewHelper(ctx context.Context, subscriber *nats.Subscriber, options *Options, handler *cloudevents.HandlerWrapper) *Helper
type Options ¶
func DefaultOptions ¶
type SubscriberListener ¶
type SubscriberListener struct {
// contains filtered or unexported fields
}
func NewSubscriberListener ¶
func NewSubscriberListener(q *nats.Subscriber, handler *cloudevents.HandlerWrapper, subject string, queue string) *SubscriberListener
func (*SubscriberListener) Subscribe ¶
func (l *SubscriberListener) Subscribe(ctx context.Context) (*n.Subscription, error)
Click to show internal directories.
Click to hide internal directories.