Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadCommand ¶
type ReadResult ¶
type ReadResult struct { // The data read. Data []byte `json:"data"` }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Read ¶
func (server *Server) Read( read *ReadCommand, result *ReadResult) error
func (*Server) Start ¶
func (server *Server) Start( command *StartCommand, result *StartResult) error
func (*Server) Wait ¶
func (server *Server) Wait( wait *WaitCommand, result *WaitResult) error
func (*Server) Write ¶
func (server *Server) Write( write *WriteCommand, out *WriteResult) error
type StartCommand ¶
type StartResult ¶
type StartResult struct { // The resulting pid. Pid int `json:"pid"` }
type WaitCommand ¶
type WaitCommand struct { // The relevant pid. Pid int `json:"pid"` }
type WaitResult ¶
type WaitResult struct { // The exit code. // (If > 0 then this event is an exit event). Exitcode int `json:"exitcode"` }
type WriteCommand ¶
type WriteResult ¶
type WriteResult struct { // How much was written? Written int `json:"n"` }
Click to show internal directories.
Click to hide internal directories.