summaryrefslogtreecommitdiff
path: root/plugins/config/configurer.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/config/configurer.go')
-rwxr-xr-xplugins/config/configurer.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/config/configurer.go b/plugins/config/configurer.go
deleted file mode 100755
index 00010eae..00000000
--- a/plugins/config/configurer.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package config
-
-type Configurer interface {
- // UnmarshalKey reads configuration section into configuration object.
- //
- // func (h *HttpService) Init(cp config.Configurer) error {
- // h.config := &HttpConfig{}
- // if err := configProvider.UnmarshalKey("http", h.config); err != nil {
- // return err
- // }
- // }
- 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
-}