Support for subscription callback
[ric-plt/xapp-frame.git] / pkg / xapp / config.go
old mode 100755 (executable)
new mode 100644 (file)
index 1f90a1a..94e88a1
@@ -88,3 +88,15 @@ func (*Configurator) GetUint32(key string) uint32 {
 func (*Configurator) GetBool(key string) bool {
        return viper.GetBool(key)
 }
+
+func (*Configurator) Get(key string) interface{} {
+       return viper.Get(key)
+}
+
+func (*Configurator) GetStringSlice(key string) []string {
+       return viper.GetStringSlice(key)
+}
+
+func (*Configurator) GetStringMap(key string) map[string]interface{} {
+       return viper.GetStringMap(key)
+}