metathings_plugin_vernemq_service

package
v1.3.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 11 Imported by: 0

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)

Jump to

Keyboard shortcuts

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