Categorygithub.com/davron112/krakend-xml/v2
modulepackage
2.1.1
Repository: https://github.com/davron112/krakend-xml.git
Documentation: pkg.go.dev

# README

Krakend XML

Enable XML encoding in the Lura Project

Documentation

For more details, check the auto-generated documentation: https://godoc.org/github.com/davron112/krakend-xml

Using it

Just register the module before parsing your config and everything will work smoothly

xml.Register()

Build the example

Go 1.8 is a requirement

$ make

Run

Running it as a common executable, logs are send to the stdOut and some options are available at the CLI

$ ./krakend_xml_example
Usage of ./krakend_xml_example:
  -c string
    	Path to the configuration filename (default "/etc/krakend/configuration.json")
  -d	Enable the debug
  -p int
    	Port of the service

# Packages

No description provided by the author
No description provided by the author

# Functions

CollectionDecoder implements the Decoder interface over a collection.
Decoder implements the Decoder interface.
NewDecoder return the right XML decoder.
Register registers the xml decoder.

# Constants

Name is the key for the xml encoding.