C rmr context is now protected. Stabilizes rmr usage with multithreads
[ric-plt/xapp-frame.git] / pkg / xapp / config.go
old mode 100755 (executable)
new mode 100644 (file)
index 647b3eb..94e88a1
@@ -80,3 +80,23 @@ func (*Configurator) GetString(key string) string {
 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)
+}