Initial LinkLog implementation
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class BasePlugin:
|
||||
name = 'base'
|
||||
version = '1.0.0'
|
||||
enabled = True
|
||||
|
||||
def initialize(self, config=None):
|
||||
return True
|
||||
|
||||
def validate_config(self, config):
|
||||
return True, 'ok'
|
||||
|
||||
def handle_event(self, event):
|
||||
raise NotImplementedError
|
||||
|
||||
def health_check(self):
|
||||
return {'name': self.name, 'status': 'ok'}
|
||||
Reference in New Issue
Block a user