summaryrefslogtreecommitdiff
path: root/doc/codewalk/codewalk.js
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-04-26 22:15:25 -0700
committerRuss Cox <rsc@golang.org>2010-04-26 22:15:25 -0700
commit47a05334117db4f1e9df6be8aeef9598d7a07124 (patch)
tree30f65329b476e4abb1423b9469ebd89828877287 /doc/codewalk/codewalk.js
parentcd5191fd30373035176c0585453fa40d1443c2d2 (diff)
downloadgo-git-47a05334117db4f1e9df6be8aeef9598d7a07124.tar.gz
net: introduce net.Error interface
Adds two more methods, Timeout and Temporary. Implemented by os.Errno too. The intent is to make the checks for os.EAGAIN a little less clunky. It should also let us clean up a bug that Mike Solomon pointed out: if a network server gets an "out of file descriptors" error from Accept, the listener should not stop. It will be able to check this because that error would have Temporary() == true. Also clean up some underscore names. Fixes #442. R=r CC=golang-dev, msolo https://golang.org/cl/957045
Diffstat (limited to 'doc/codewalk/codewalk.js')
0 files changed, 0 insertions, 0 deletions