Documentation
¶
Index ¶
- type WebhooksAdminHandler
- func (h *WebhooksAdminHandler) DeleteWebhook(w http.ResponseWriter, r *http.Request)
- func (h *WebhooksAdminHandler) GetWebhook(w http.ResponseWriter, r *http.Request)
- func (h *WebhooksAdminHandler) ListWebhooks(w http.ResponseWriter, r *http.Request)
- func (h *WebhooksAdminHandler) RetryWebhook(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhooksAdminHandler ¶
type WebhooksAdminHandler struct {
// contains filtered or unexported fields
}
WebhooksAdminHandler handles webhook queue management endpoints.
func NewWebhooksAdminHandler ¶
func NewWebhooksAdminHandler(store storage.Store) *WebhooksAdminHandler
NewWebhooksAdminHandler creates a new webhooks admin handler.
func (*WebhooksAdminHandler) DeleteWebhook ¶
func (h *WebhooksAdminHandler) DeleteWebhook(w http.ResponseWriter, r *http.Request)
DeleteWebhook removes a webhook from the queue. DELETE /admin/webhooks/:id
func (*WebhooksAdminHandler) GetWebhook ¶
func (h *WebhooksAdminHandler) GetWebhook(w http.ResponseWriter, r *http.Request)
GetWebhook retrieves a specific webhook by ID. GET /admin/webhooks/:id
func (*WebhooksAdminHandler) ListWebhooks ¶
func (h *WebhooksAdminHandler) ListWebhooks(w http.ResponseWriter, r *http.Request)
ListWebhooks returns a list of webhooks with optional status filter. GET /admin/webhooks?status=pending&limit=100
func (*WebhooksAdminHandler) RetryWebhook ¶
func (h *WebhooksAdminHandler) RetryWebhook(w http.ResponseWriter, r *http.Request)
RetryWebhook resets a webhook to pending state for manual retry. POST /admin/webhooks/:id/retry
Click to show internal directories.
Click to hide internal directories.