Support for subscription callback
[ric-plt/xapp-frame.git] / pkg / xapp / config.go
old mode 100755 (executable)
new mode 100644 (file)
index 0493059..94e88a1
@@ -81,6 +81,22 @@ func (*Configurator) GetInt(key string) int {
        return viper.GetInt(key)
 }
 
+func (*Configurator) GetUint32(key string) uint32 {
+       return viper.GetUint32(key)
+}
+
 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)
+}