Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server handles HTTP requests and communicates with the remote program
func (*Server) HandleHTTPRequest ¶
func (s *Server) HandleHTTPRequest(w http.ResponseWriter, r *http.Request)
HandleHTTPRequest handles incoming HTTP requests
func (*Server) ReadFromProgram ¶
func (s *Server) ReadFromProgram()
ReadFromProgram continuously reads from the program's stdout
func (*Server) StartProgram ¶
StartProgram starts the remote program and connects to its stdin/stdout
Click to show internal directories.
Click to hide internal directories.