Access program STDIN and STDOUT via Web-Socket server.
This is still incomplete implementation. Better alternative.
Get help message
go run main.go -help
go run main.go
Will start server on localhost:8080
and will stream the output of ls
command.
go run main.go -address="0.0.0.0" -port=8000 -script=pwd
Will start server on 0.0.0.0:8000
and will stream the output of pwd
command.