Learning some go, thought I'd build a chat server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
configs
.gitignore
Makefile
README.md
channel.go
client.go
config.go
gochat-http-demo.gif
gochat-telnet-demo.gif
http-handler.go
http.go
logger.go
main.go
messages.go
server.go
user.go

README.md

gochat

Basic client-server chat program working over Telnet and HTTP.

Multi-client chat over TCP with channel support

HTTP support for getting channel list, channel messages, and posting a message to a channel

Features

  • Chat Server
  • Config settings read from local config file (port, ip, log file)
  • Multiple client connections via telnet to send messages to the server
  • All messages logged locally
  • Optional: Support rooms/channels
  • Relay new messages to all clients with timestamp and username
  • Optional: Rest API to read messages
  • Optional: Rest API to post messages