Documentation ¶
Index ¶
- func Dial(path string) (net.Conn, error)
- func DialContext(ctx context.Context, path string) (net.Conn, error)
- func DialPipe(laddr *PipeAddr, raddr *PipeAddr) (net.Conn, error)
- func DialPipeContext(ctx context.Context, laddr *PipeAddr, raddr *PipeAddr) (_ net.Conn, err error)
- func ListenPipe(path, connDir string, perm os.FileMode) (net.Listener, error)
- type PipeAddr
- type PipeListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialPipeContext ¶
Types ¶
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.