Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WebhookNotifier ¶ added in v1.7.1
type WebhookNotifier struct {
// contains filtered or unexported fields
}
func GetWebhookNotifier ¶ added in v1.7.1
func GetWebhookNotifier(ctx context.Context, app *config.AppConfig, ds *dbservice.DatabaseService, natsService *natsservice.NatsService, logger *logrus.Logger) *WebhookNotifier
func (*WebhookNotifier) DeleteWebhook ¶ added in v1.7.1
func (w *WebhookNotifier) DeleteWebhook(roomId string) error
func (*WebhookNotifier) ForceToPutInQueue ¶ added in v1.7.1
func (w *WebhookNotifier) ForceToPutInQueue(event *plugnmeet.CommonNotifyEvent)
ForceToPutInQueue sends a webhook event synchronously without using the room's queue. This method should be used for one-shot events outside the normal room lifecycle. It directly queries the database for webhook URLs.
func (*WebhookNotifier) RegisterWebhook ¶ added in v1.7.1
func (w *WebhookNotifier) RegisterWebhook(roomId, sid string)
func (*WebhookNotifier) SendWebhookEvent ¶ added in v1.7.1
func (w *WebhookNotifier) SendWebhookEvent(event *plugnmeet.CommonNotifyEvent) error
Click to show internal directories.
Click to hide internal directories.