summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/api.go')
-rw-r--r--plugin/api.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go
new file mode 100644
index 000000000..c62ae0f55
--- /dev/null
+++ b/plugin/api.go
@@ -0,0 +1,7 @@
+package plugin
+
+type API interface {
+ // LoadPluginConfiguration loads the plugin's configuration. dest should be a pointer to a
+ // struct that the configuration JSON can be unmarshalled to.
+ LoadPluginConfiguration(dest interface{}) error
+}