{"modulePath":"github.com/answerdev/answer","version":"v1.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package notice_queue\n\n## Types\n\n```go\ntype ExternalNotificationQueueService interface {\n\tSend(ctx context.Context, msg *schema.ExternalNotificationMsg)\n\tRegisterHandler(handler func(ctx context.Context, msg *schema.ExternalNotificationMsg) error)\n}\n```\n\n```go\nfunc NewNewQuestionNotificationQueueService() ExternalNotificationQueueService\n```\nNewNewQuestionNotificationQueueService create a new notification queue service\n\n```go\ntype NotificationQueueService interface {\n\tSend(ctx context.Context, msg *schema.NotificationMsg)\n\tRegisterHandler(handler func(ctx context.Context, msg *schema.NotificationMsg) error)\n}\n```\n\n```go\nfunc NewNotificationQueueService() NotificationQueueService\n```\nNewNotificationQueueService create a new notification queue service\n\n","path":"github.com/answerdev/answer/internal/service/notice_queue","name":"notice_queue","synopsis":"","isRedistributable":true}
