summaryrefslogtreecommitdiff
path: root/plugins/config/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/config/provider.go')
-rw-r--r--plugins/config/provider.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/config/provider.go b/plugins/config/provider.go
index bec417e9..580231fd 100644
--- a/plugins/config/provider.go
+++ b/plugins/config/provider.go
@@ -10,6 +10,10 @@ type Provider interface {
// }
// }
UnmarshalKey(name string, out interface{}) error
+
// Get used to get config section
Get(name string) interface{}
+
+ // Has checks if config section exists.
+ Has(name string) bool
}