Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadRequest = errors.New("bad request")
)
Functions ¶
This section is empty.
Types ¶
type MosquittoPluginService ¶
type MosquittoPluginService struct {
// contains filtered or unexported fields
}
func NewMosquittoPluginService ¶
func NewMosquittoPluginService( opt *MosquittoPluginServiceOption, logger log.FieldLogger, storage storage.Storage, ) (*MosquittoPluginService, error)
func (*MosquittoPluginService) WebhookHandler ¶
func (s *MosquittoPluginService) WebhookHandler(w http.ResponseWriter, r *http.Request)
type MosquittoPluginServiceOption ¶
type MosquittoPluginServiceOption struct { Webhook struct { Secret string } }
Click to show internal directories.
Click to hide internal directories.