Documentation ¶
Index ¶
- func Dial(path string) (net.Conn, error)
- func DialContext(ctx context.Context, path string) (net.Conn, error)
- func ListenPipe(path, connDir string, perm os.FileMode) (net.Listener, error)
- type PipeAddr
- type PipeConn
- func (c *PipeConn) Close() error
- func (c *PipeConn) LocalAddr() net.Addr
- func (c *PipeConn) Read(b []byte) (n int, err error)
- func (c *PipeConn) RemoteAddr() net.Addr
- func (c *PipeConn) SetDeadline(t time.Time) error
- func (c *PipeConn) SetReadDeadline(t time.Time) error
- func (c *PipeConn) SetWriteDeadline(t time.Time) error
- func (c *PipeConn) Write(b []byte) (n int, err error)
- type PipeListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PipeConn ¶
type PipeConn struct {
// contains filtered or unexported fields
}
func DialPipeContext ¶
func (*PipeConn) RemoteAddr ¶
type PipeListener ¶
type PipeListener struct {
// contains filtered or unexported fields
}
func (*PipeListener) Accept ¶
func (c *PipeListener) Accept() (net.Conn, error)
Accept new pipe connections, once we have received incoming coming message from `path`, the message content is expected to be the path of a named pipe listened by the client
If the provided path is a valid named pipe, the listener will create another named pipe for client and write to the pipe provided by the client
func (*PipeListener) Addr ¶
func (c *PipeListener) Addr() net.Addr
func (*PipeListener) Close ¶
func (c *PipeListener) Close() error
Click to show internal directories.
Click to hide internal directories.