Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deactivated ¶
type Deactivated struct {
Receiver string
}
type EmailService ¶
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(conn *nats.Conn, service EmailService, logger *zap.SugaredLogger) (Subscriber, error)
func (Subscriber) Deactivated ¶
func (s Subscriber) Deactivated(data []byte)
func (Subscriber) Shutdown ¶
func (s Subscriber) Shutdown()
func (Subscriber) Signup ¶
func (s Subscriber) Signup(data []byte)
Click to show internal directories.
Click to hide internal directories.