Skip to content

krakend/krakend-koanf

KrakenD koanf

A config parser for the KrakenD framework

How to use it

Import the package

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

And you are ready for building a parser and get the config from json / yaml / toml files.

parser := koanf.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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages