commit | afe8f62b1d6bbd81f31868121a50b06d8188e1f9 | [log] [tgz] |
---|---|---|
author | Gauthier Jolly <gauthier.jolly@gmail.com> | Wed Jun 20 21:20:43 2018 +0100 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Thu Jun 21 14:42:59 2018 +0000 |
tree | 92507aac896ef58838b2070133d831b619f0dfd2 | |
parent | db08ff08e8622530d9ed3a0e8ac279f6d4c02196 [diff] |
websocket: add documentation to IsServerConn and IsClientConn Those function names are ambiguous. These functions don't check if a client/server is connected but if the connection is client or server side. Adding some documentation should avoid any mistake. Change-Id: I0522e176d58c558fd880d49b980b0152b96823bc Reviewed-on: https://go-review.googlesource.com/120146 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.