summaryrefslogtreecommitdiff
path: root/interfaces/config/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-21 13:14:42 +0300
committerValery Piashchynski <[email protected]>2020-12-21 13:14:42 +0300
commite7a62f19155bbba9ac17527e2abb30d31c632655 (patch)
treef060dbd61f0dc0d1093937eced738bd6aead1373 /interfaces/config/interface.go
parentb403dd170bf3dc3ce451ba4ada40dd55773b032a (diff)
Finish redis plugin
Diffstat (limited to 'interfaces/config/interface.go')
-rwxr-xr-xinterfaces/config/interface.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/interfaces/config/interface.go b/interfaces/config/interface.go
index 00010eae..2a7c67ce 100755
--- a/interfaces/config/interface.go
+++ b/interfaces/config/interface.go
@@ -14,6 +14,9 @@ type Configurer interface {
// Get used to get config section
Get(name string) interface{}
+ // Overwrite used to overwrite particular values in the unmarshalled config
+ Overwrite(values map[string]interface{}) error
+
// Has checks if config section exists.
Has(name string) bool
}