/Chat

Basic go chat server with multi room

Primary LanguageGoMIT LicenseMIT

Chat is a basic go chat server.

Features

  • multiple rooms
  • user logins
  • multiple connection types
  • optional database support
  • block list
  • friend list

Config

There is a sample Config file provided. The server will look for a config file in its folder. A different location can be specified using the -config filename flag. The server will start the connection types that have ports specified for them in the config.

Commands

/tell user message - send the message to the specified user
/block user - adds the user to your block list preventing future messages from that user
/unblock user - removes the user from your block list allowing messages from that user
/friend user - adds the user to your friend list
/unfriend user - removes the user from your friend list
/friendlist - shows your friend list and displays what room your friends are in or when they last logged in
/blocklist - shows you block list
/join room name - moves you to the specifed room or creates it if it doesn't exist *won't create the room if the room limit has been reached
/quit - logges you out of the server
/list - shows a list of the current rooms

Database

The server currently supports only a Postgresql database. If no database is specified the user information will instead be stored in a file.

Browser http client

Angularjs version