Skip to content

overcls/KiwiChat-Server

 
 

Repository files navigation

About

It's server side for KiwiChat. It use MySQL as it's data storage, only stores some basic info of users and their friend relationship. Doesn't store any message sending between users.

Installation

  1. Install dependencies at first:
go get github.com/go-sql-driver/mysql
go get github.com/bitly/go-simplejson
go get github.com/mconintet/kiwi
  1. Download source code and import the db.sql under source code directory into you MySQL database.

  2. You can build source code optionally or just use go run.

Usage

Usage:
  -db string
    	database access info
  -sa string
    	server address (default ":9876")
// example
go run *.go -db="root:pass@unix(/tmp/mysql.sock)/kiwi"

More details about the format of db access string please see dsn-data-source-name.

About

Server side for KiwiChat in golang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%