notice_queue

package
v1.4.1-RC1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalNotificationQueueService

type ExternalNotificationQueueService interface {
	Send(ctx context.Context, msg *schema.ExternalNotificationMsg)
	RegisterHandler(handler func(ctx context.Context, msg *schema.ExternalNotificationMsg) error)
}

func NewNewQuestionNotificationQueueService

func NewNewQuestionNotificationQueueService() ExternalNotificationQueueService

NewNewQuestionNotificationQueueService create a new notification queue service

type NotificationQueueService

type NotificationQueueService interface {
	Send(ctx context.Context, msg *schema.NotificationMsg)
	RegisterHandler(handler func(ctx context.Context, msg *schema.NotificationMsg) error)
}

func NewNotificationQueueService

func NewNotificationQueueService() NotificationQueueService

NewNotificationQueueService create a new notification queue service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL