- Service starts HTTP server
- Server scans the source directory, select the target files
- Analyzes files and generates XML
- Client refers to the address on the server HTTP and server issues formed XML
- http://127.0.0.1:8081/payorder/files/sber -- make XML from sber xls
- http://127.0.0.1:8081/payorder/files/zapsib -- make XML from sber zapsib
- http://127.0.0.1:8081/payorder/backup -- copy files from source dir to backup dir
go get github.com/formeo/XlsForXMLHttp
MIT:
Gordienko Roman