• Dave Cheney's avatar
    exp/ssh: introduce Session to replace Cmd for interactive commands · 57912334
    Dave Cheney authored
    This CL replaces the Cmd type with a Session type representing
    interactive channels. This lays the foundation for supporting
    other kinds of channels like direct-tcpip or x11.
    
    client.go:
    * replace chanlist map with slice.
    * generalize stdout and stderr into a single type.
    * unexport ClientChan to clientChan.
    
    doc.go:
    * update ServerConfig/ServerConn documentation.
    * update Client example for Session.
    
    message.go:
    * make channelExtendedData more like channelData.
    
    session.go:
    * added Session which replaces Cmd.
    
    R=agl, rsc, n13m3y3r, gustavo
    CC=golang-dev
    https://golang.org/cl/5302054
    57912334
Name
Last commit
Last update
..
Makefile Loading commit data...
channel.go Loading commit data...
client.go Loading commit data...
common.go Loading commit data...
doc.go Loading commit data...
messages.go Loading commit data...
messages_test.go Loading commit data...
server.go Loading commit data...
server_shell.go Loading commit data...
server_shell_test.go Loading commit data...
session.go Loading commit data...
transport.go Loading commit data...
transport_test.go Loading commit data...