Skip to content

krakend/krakend-viper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

KrakenD viper

A config parser for the KrakenD framework

How to use it

Import the package

import "github.com/krakendio/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

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages