Documentation ¶
Index ¶
Constants ¶
View Source
const (
OPTION_WEBHOOK_SECRET = "webhookSecret"
)
Variables ¶
View Source
var (
ErrBadRequest = fmt.Errorf("bad request")
)
View Source
var (
WithWebhookSecret, GetWebhookSecret = option.New[string](OPTION_WEBHOOK_SECRET)
)
Functions ¶
This section is empty.
Types ¶
type VernemqPluginService ¶
type VernemqPluginService struct {
// contains filtered or unexported fields
}
func NewVernemqPluginService ¶
func NewVernemqPluginService(opts ...option.ApplyOption) (*VernemqPluginService, error)
func (*VernemqPluginService) WebhookHandler ¶
func (s *VernemqPluginService) WebhookHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.