MCPcopy
hub / github.com/gotify/server / RegisterWebhook

Method RegisterWebhook

plugin/compat/v1.go:111–115  ·  view source on GitHub ↗

RegisterWebhook see papiv1.Webhooker.

(basePath string, mux *gin.RouterGroup)

Source from the content-addressed store, hash-verified

109
110// RegisterWebhook see papiv1.Webhooker.
111func (c *PluginV1Instance) RegisterWebhook(basePath string, mux *gin.RouterGroup) {
112 if c.webhooker != nil {
113 c.webhooker.RegisterWebhook(basePath, mux)
114 }
115}
116
117// SetStorageHandler see papiv1.Storager.
118func (c *PluginV1Instance) SetStorageHandler(handler StorageHandler) {

Callers

nothing calls this directly

Calls 1

RegisterWebhookMethod · 0.65

Tested by

no test coverage detected