Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalNotificationQueueService ¶ added in v1.1.2
type ExternalNotificationQueueService interface {
Send(ctx context.Context, msg *schema.ExternalNotificationMsg)
RegisterHandler(handler func(ctx context.Context, msg *schema.ExternalNotificationMsg) error)
}
func NewNewQuestionNotificationQueueService ¶ added in v1.1.2
func NewNewQuestionNotificationQueueService() ExternalNotificationQueueService
NewNewQuestionNotificationQueueService create a new notification queue service
type NotificationQueueService ¶ added in v1.1.1
type NotificationQueueService interface {
Send(ctx context.Context, msg *schema.NotificationMsg)
RegisterHandler(handler func(ctx context.Context, msg *schema.NotificationMsg) error)
}
func NewNotificationQueueService ¶ added in v1.1.1
func NewNotificationQueueService() NotificationQueueService
NewNotificationQueueService create a new notification queue service
Click to show internal directories.
Click to hide internal directories.