type streamLocalChannelOpenDirectMsg … type forwardedStreamLocalPayload … type streamLocalChannelForwardMsg … // ListenUnix is similar to ListenTCP but uses a Unix domain socket. func (c *Client) ListenUnix(socketPath string) (net.Listener, error) { … } func (c *Client) dialStreamLocal(socketPath string) (Channel, error) { … } type unixListener … // Accept waits for and returns the next connection to the listener. func (l *unixListener) Accept() (net.Conn, error) { … } // Close closes the listener. func (l *unixListener) Close() error { … } // Addr returns the listener's network address. func (l *unixListener) Addr() net.Addr { … }