Skip to content

betprophet1/krakend-viper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KrakenD viper

A config parser for the KrakenD framework

How to use it

Import the package

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%