prnsrv
Why?
I regularly just want to dump the output from a program pointed at a server
endpoint. This prints out whatever is sent in the prnsrv
logs.
How to use?
- cd into the repo
- run either
go run prnsrv.go
orgo run prnsrv.go -port <port-number>
- if you want to install, run
go install
, then you can run it usingprnsrv
orprnsrv -port <port-number>
as long asGOBIN
is in your path.
Other
There are better tools for this, this is just an easy thing for me to use.