RegisterWebhook see papiv1.Webhooker.
(basePath string, mux *gin.RouterGroup)
| 109 | |
| 110 | // RegisterWebhook see papiv1.Webhooker. |
| 111 | func (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. |
| 118 | func (c *PluginV1Instance) SetStorageHandler(handler StorageHandler) { |
nothing calls this directly
no test coverage detected