An example chat server in golang.
Go to file
AJ ONeal dd971fcc72 go go restful static server, mighty restful static server! 2018-07-31 01:44:45 -06:00
public go go restful static server, mighty restful static server! 2018-07-31 01:44:45 -06:00
.gitignore Initial commit 2018-07-21 21:45:42 +00:00
LICENSE Initial commit 2018-07-21 21:45:42 +00:00
README.md go go restful static server, mighty restful static server! 2018-07-31 01:44:45 -06:00
chatserver.go go go restful static server, mighty restful static server! 2018-07-31 01:44:45 -06:00
config.sample.yml go go restful static server, mighty restful static server! 2018-07-31 01:44:45 -06:00

README.md

chat.go

Rudimentary go chat server as a fun project.

Install

git clone https://git.coolaj86.com/coolaj86/chat.go.git
go get gopkg.in/yaml.v2
go get github.com/emicklei/go-restful

Usage

Start the server

go run chatserver.go -conf ./config.yml

See sample config file at config.sample.yml.

Connect clients

You can connect multiple clients.

telnet localhost 4080