Skip to content

krakend/krakend-viper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

KrakenD viper

A config parser for the KrakenD framework

=========================================================================

THIS PACKAGE HAS BEEN DISCONTINUED, SEE KRAKEND-KOANF FOR ALTERNATIVES

=========================================================================

How to use it

Import the package

import "github.com/krakend/krakend-viper"

And you are ready for building a parser and get the config from any format supported by viper

parser := viper.New()
serviceConfig, err := parser.Parse(*configFile)
if err != nil {
	log.Fatal("ERROR:", err.Error())
}

About

A powerful config parser for the KrakenD framework

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages