Plugin a interface for app's global plugin
| 10 | |
| 11 | // Plugin a interface for app's global plugin |
| 12 | type Plugin interface { |
| 13 | Name() string |
| 14 | Run() error |
| 15 | IsValidate() bool |
| 16 | } |
| 17 | |
| 18 | // NewDefaultNotifyPlugin return new NotifyPlugin with default config |
| 19 | func NewDefaultNotifyPlugin(app *DotWeb) *NotifyPlugin { |
no outgoing calls
no test coverage detected