Giter Club home page Giter Club logo

chat's Introduction

Chat is a 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. Origin is the origin of the site serving the web interface to allow the CORS to work propery.

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. New database types can be added by creating an adapter that meets the DataStore interface in clientdata.go and then adding an entry in the datafactory package.

Browser http client

Angularjs version

chat's People

Contributors

davidafox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.