• Dave Cheney's avatar
    exp/ssh: server cleanups · 8bfb2171
    Dave Cheney authored
    server.go/channel.go:
    * rename Server to ServerConfig to match Client.
    * rename ServerConnection to ServeConn to match Client.
    * add Listen/Listener.
    * ServerConn.Handshake(), general cleanups.
    
    client.go:
    * fix bug where fmt.Error was not assigned to err
    
    R=rsc, agl
    CC=golang-dev
    https://golang.org/cl/5265049
    8bfb2171
server.go 16.7 KB