PluginV1Instance is an adapter for plugin using v1 API.
| 68 | |
| 69 | // PluginV1Instance is an adapter for plugin using v1 API. |
| 70 | type PluginV1Instance struct { |
| 71 | instance papiv1.Plugin |
| 72 | messenger papiv1.Messenger |
| 73 | configurer papiv1.Configurer |
| 74 | storager papiv1.Storager |
| 75 | webhooker papiv1.Webhooker |
| 76 | displayer papiv1.Displayer |
| 77 | } |
| 78 | |
| 79 | // DefaultConfig see papiv1.Configurer. |
| 80 | func (c *PluginV1Instance) DefaultConfig() interface{} { |
nothing calls this directly
no outgoing calls
no test coverage detected