Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientPipeConn ¶
func NewClientPipeConn(prog string, args ...string) (io.ReadWriteCloser, error)
NewClientPipeConn 运行 prog, 返回管道构成的 io.ReadWriteCloser
func NewServerPipeConn ¶
func NewServerPipeConn() io.ReadWriteCloser
NewServerPipeConn 返回由 stdin、stdout 构成的 io.ReadWriteCloser
Types ¶
type ClientPipeConn ¶
type ClientPipeConn struct {
// contains filtered or unexported fields
}
func (*ClientPipeConn) Close ¶
func (s *ClientPipeConn) Close() error
type ServerPipeConn ¶
type ServerPipeConn struct{}
func (*ServerPipeConn) Close ¶
func (s *ServerPipeConn) Close() error
Click to show internal directories.
Click to hide internal directories.