Skip to content

TapirLiu/golang_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(This is a project created when I just started learning Go.
There might be some race bugs in it.)

To build:

   export GOPATH=`pwd`

   go get github.com/gorilla/websocket

   go install chat_wsserver

To run:

   bin/chat_wsserver

Then open http://localhost:6636 in a browser to local test.

In chatting, you can change your name by inputting

  /name your_new_name

and change current room by inputting

  /room new_room

About

a socket+websocket chat server in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published