Files
ipe/vendor/github.com/gorilla/websocket/examples/chat
claudemiro 228ed284d9 Removed godep dependency.
Golang community are discuting a vendor aproach to go dependencies. This
change will come as experimental in go 1.5. For now I am removing the
godep dependency manager and using a vendor aproach.

I still have to use the full path when importing dependencies, but when
go1.5 released I just have to rename the imports and use a -vendor
prefix when building the project.
2015-06-13 09:11:55 -03:00
..
2015-06-13 09:11:55 -03:00
2015-06-13 09:11:55 -03:00
2015-06-13 09:11:55 -03:00
2015-06-13 09:11:55 -03:00
2015-06-13 09:11:55 -03:00

Chat Example

This application shows how to use use the websocket package and jQuery to implement a simple web chat application.

Running the example

The example requires a working Go development environment. The Getting Started page describes how to install the development environment.

Once you have Go up and running, you can download, build and run the example using the following commands.

$ go get github.com/gorilla/websocket
$ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/chat`
$ go run *.go