Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶ added in v0.2.7
type NotificationsUserId ¶
type NotificationsUserId struct {
RabbitMQ rabbitmq.RabbitInterface
}
NotificationsUserId struct
func NewNotificationsUserId ¶
func NewNotificationsUserId(url string) *NotificationsUserId
NewNotificationsUserId creates a new NotificationsUserId instance
func (*NotificationsUserId) Close ¶ added in v0.3.1
func (n *NotificationsUserId) Close() error
Close closes the RabbitMQ connection
func (*NotificationsUserId) NotifyPicle ¶ added in v0.2.11
func (n *NotificationsUserId) NotifyPicle(ctx context.Context, userID string, body []byte, typeMessage entity.NotifyTypeMessage, args ...any)
NotifyPicle notifies the user ID
Click to show internal directories.
Click to hide internal directories.