summaryrefslogtreecommitdiff
path: root/plugins/config/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-03-31 18:58:03 +0300
committerValery Piashchynski <[email protected]>2021-03-31 18:58:03 +0300
commit955c6b7ca530172acc646c55e7e3eda04f543310 (patch)
treea816de47e7a1e5d6cabe836a30c7552e6023c3d2 /plugins/config/interface.go
parentae6d488c9da200203c78af23518ea4f2f2e96773 (diff)
- Config: Add the ability to pass General config options to any plugin
Diffstat (limited to 'plugins/config/interface.go')
-rw-r--r--plugins/config/interface.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/config/interface.go b/plugins/config/interface.go
index 23279f53..8370c0ab 100644
--- a/plugins/config/interface.go
+++ b/plugins/config/interface.go
@@ -23,4 +23,7 @@ type Configurer interface {
// Has checks if config section exists.
Has(name string) bool
+
+ // Returns General section. Read-only
+ GetCommonConfig() *General
}