View definition


Defined in


LoadRoutesFile loads routes from a json file. Example of the routes file.

	"routes": [

supported formats are json,toml and yaml with extension .json, .toml and .yml respectively.

TODO refactor the decoding part to a separate function? This part shares the same logic as the one found in NewConfig()

LoadRoutesFile is referenced in 1 repository