webhook

package
v0.0.0-...-bdb59ed Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyRequest

func VerifyRequest(body []byte, apiKey, secret, token string) (bool, error)

VerifyRequest will verify webhook request both for livekit & plugNmeet in plugNmeet we're following the same token system as livekit is using in this method we'll verify the provided body request

Types

type Notifier

type Notifier struct {
	// contains filtered or unexported fields
}

func GetWebhookNotifier

func GetWebhookNotifier(queueSize int, debug bool, logger *logrus.Logger) *Notifier

func (*Notifier) AddInNotifyQueue

func (n *Notifier) AddInNotifyQueue(event *plugnmeet.CommonNotifyEvent, apiKey, apiSecret string, urls []string)

Jump to

Keyboard shortcuts

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