1
0
mirror of https://github.com/golang/go synced 2024-10-04 10:21:21 -06:00
go/src/pkg
Dave Cheney 5791233461 exp/ssh: introduce Session to replace Cmd for interactive commands
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
2011-10-24 19:13:55 -04:00
..
archive io: rename Copyn to CopyN. 2011-09-30 13:13:39 -07:00
asn1 crypto/x509: keep the raw Subject and Issuer. 2011-10-14 15:06:54 -04:00
big big: usable zero Rat values without need for explicit initialization 2011-10-21 14:11:36 -07:00
bufio bufio: handle a "\r\n" that straddles the buffer. 2011-08-25 08:44:12 +10:00
builtin builtin: correct description of a closed channel. 2011-08-16 16:03:30 +10:00
bytes updates: append(y,[]byte(z)...) -> append(y,z...)" 2011-10-12 13:42:04 -07:00
cmath math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
compress go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
container container/vector: delete 2011-10-11 16:41:48 -07:00
crypto crypto/x509: fix names in certificate generation. 2011-10-19 12:19:13 -04:00
csv csv: fix issue 2366 - overly aggressive TrimLeadingSpace 2011-10-17 11:10:39 -07:00
debug gofix -r mapdelete 2011-10-18 09:56:34 -04:00
encoding encoding/binary: added benchmarks 2011-10-05 13:04:43 -07:00
exec exec: add Command.ExtraFiles 2011-10-06 11:00:02 -07:00
exp exp/ssh: introduce Session to replace Cmd for interactive commands 2011-10-24 19:13:55 -04:00
expvar go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
flag flag: make zero FlagSet useful 2011-09-15 17:04:51 -04:00
fmt fmt: simplify the code some more by storing the field in the pp structure. 2011-10-21 13:59:27 -07:00
go go/ast: use single-element map in test 2011-10-20 12:37:13 -07:00
gob gofix -r mapdelete 2011-10-18 09:56:34 -04:00
hash hash/crc32: add SSE4.2 support 2011-07-12 09:29:24 -04:00
html html: dump attributes when running parser tests. 2011-10-25 09:33:15 +11:00
http http: add package comment 2011-10-24 13:59:31 -07:00
image image/tiff: Implement PackBits decoding. 2011-10-13 13:31:26 +11:00
index/suffixarray index/suffixarray: 4.5x faster index serialization (to memory) 2011-09-30 11:31:28 -07:00
io io: rename Copyn to CopyN. 2011-09-30 13:13:39 -07:00
json updates: append(y,[]byte(z)...) -> append(y,z...)" 2011-10-12 13:42:04 -07:00
log log: more locking 2011-07-17 15:46:00 -07:00
mail time: make Weekday a method. 2011-09-12 11:47:55 -07:00
math build: clear execute bit from source files 2011-10-06 18:33:13 +09:00
mime strings: implement a faster byte->string Replacer 2011-10-03 15:19:04 -07:00
net net: do not set SO_REUSEADDR for windows 2011-10-24 09:11:01 +11:00
old gofix -r mapdelete 2011-10-18 09:56:34 -04:00
os os/inotify: move to exp/inotify 2011-10-19 10:54:45 +09:00
patch strings.Split: make the default to split all. 2011-06-28 09:43:14 +10:00
path path/filepath: added Rel as the complement of Abs 2011-10-04 11:27:06 -03:00
rand math: remove the leading F from Fabs etc. 2011-09-29 09:54:20 -07:00
reflect reflect: make unsafe use of SliceHeader gc-friendly 2011-10-18 10:03:37 -04:00
regexp regexp: speedups 2011-09-28 12:00:31 -04:00
rpc rpc: don't panic on write error. 2011-10-18 15:52:49 -07:00
runtime reflect: make unsafe use of SliceHeader gc-friendly 2011-10-18 10:03:37 -04:00
scanner scanner: invalidate scanner.Position when no token is present 2011-10-17 16:35:12 -07:00
smtp strings.Split: make the default to split all. 2011-06-28 09:43:14 +10:00
sort go/doc, godoc, gotest: support for reading example documentation 2011-10-06 11:56:17 -07:00
strconv strconv: faster Unquote in common case 2011-09-26 13:59:12 -04:00
strings strings: implement a faster byte->string Replacer 2011-10-03 15:19:04 -07:00
sync sync/atomic: replace MFENCE with LOCK XADD 2011-09-19 11:09:00 -07:00
syscall syscall: update ztypes_linux_386 for terminal changes 2011-10-19 08:45:38 -07:00
syslog os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
tabwriter go/printer: changed max. number of newlines from 3 to 2 2011-07-14 14:39:40 -07:00
template template: do not depend on map iteration order 2011-10-17 14:51:45 -04:00
testing testing: fix time reported for failing tests. 2011-10-07 14:15:16 -07:00
time time: make month/day name comparisons case insenstive 2011-10-04 12:52:30 -07:00
unicode unicode: sort tables.go 2011-10-19 16:02:22 -04:00
unsafe unsafe: update doc 2011-08-31 17:59:35 -04:00
url gofix -r mapdelete 2011-10-18 09:56:34 -04:00
utf8 utf8: add Valid and ValidString 2011-10-06 22:47:24 -07:00
utf16
websocket websocket: tweak hybi ReadHandshake to supports Firefox implementation 2011-10-14 14:27:45 -04:00
xml gofix -r mapdelete 2011-10-18 09:56:34 -04:00
deps.bash catch future accidental dependencies to exp/ or old/ 2011-10-12 10:55:42 -07:00
Makefile go/ast, go/token: actually run tests; fix go/ast test 2011-10-20 10:30:01 -07:00