go get -u github.com/swaggo/swag/cmd/swag
go mod vendor && make
# Linux
./dist/plc-gw
# OR on Windows
./dist/plc-gw.exe
using ./plc-gw <COMMAND>
on linux OR ./plc-gw.exe <COMMAND>
on windows
-
Commands
start Startup the service stop Stop the service restart Restart the service install Install as service uninstall Uninstall the service
-
Example
# Install as service on linux ./plc-gw install # OR on windows ./plc-gw.exe install
http://localhost:8080/swagger/index.html