Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
Helper assists in creating event handlers.
func NewDefaultHelper ¶
NewDefaultHelper returns a new Helper with default options.
type Options ¶
Options can be used to create customized handler.
func DefaultOptions ¶
DefaultOptions returns options based in config.
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
Subscriber represents a subscriber listener.
func NewSubscriber ¶
func NewSubscriber(q *nats.Conn, handler function.Handler, subject string, queue string) *Subscriber
NewSubscriber returns a subscriber listener.
Click to show internal directories.
Click to hide internal directories.