Skip to content
The chat back-end for destiny.gg, written in Go, based on Golem (github.com/trevex/golem)
Go Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
angel update angel with the gorilla websocket lib Dec 16, 2014
.gitignore fix: no longer do a duplicate message check if the user is a bot. Nov 13, 2018
README.md document how to set up redis so build succeeds Nov 25, 2014
TODO introduce redis unban channel Dec 29, 2013
api.go tweaked the regex on the cookie value validation to include uppercase… Dec 5, 2018
bans.go stop logging the chat to the database, log to a redis circular buffer Feb 14, 2016
bans_test.go also remove the goroutines from the mutes and add basic test cases Aug 31, 2013
build remove watchdogs, it was a stupid idea, mask ipv6 addresses so bans a… Apr 23, 2015
cache.go tweak the circularbuffer redis lua script Feb 15, 2016
chat.proto update the protocol Sep 6, 2013
connection.go tweaked the regex on the cookie value validation to include uppercase… Dec 5, 2018
data.go implementing private messages, part1 Dec 20, 2014
database.go stop logging the chat to the database, log to a redis circular buffer Feb 14, 2016
debug.go ffjson fix, have to explicitly tell it the fields capitalization as o… Jan 17, 2015
dggchat.service raise the available file descriptors Jan 31, 2016
hub.go simplify the backlog handling Feb 14, 2016
main.go fix: no longer do a duplicate message check if the user is a bot. Nov 13, 2018
mutes.go persist more state, also refactor state handling Sep 10, 2013
mutes_test.go update tests Sep 10, 2013
namescache.go ffjson fix, have to explicitly tell it the fields capitalization as o… Jan 17, 2015
namescache_ffjson.go speed up json marshalling Jan 17, 2015
namescache_test.go speed up json marshalling Jan 17, 2015
run remove watchdogs, it was a stupid idea, mask ipv6 addresses so bans a… Apr 23, 2015
user.go stop logging the chat to the database, log to a redis circular buffer Feb 14, 2016
user_ffjson.go ffjson fix, have to explicitly tell it the fields capitalization as o… Jan 17, 2015
users_test.go force update of cached user if features changes Jan 17, 2015

README.md

The Destiny Chat Back-End

The chat back-end for destiny.gg, written in Go, based on Golem (http://github.com/trevex/golem)

Licensed under the Apache License, Version 2.0

http://www.apache.org/licenses/LICENSE-2.0.html

This is my first not-so-tiny Go project, so if there is anything that could be improved, please do tell.

=== How to Build:

go get each package listed in main.go

fix the redis library to this specific commit with:

cd $GOPATH/src/github.com/vmihailenco/redis

git checkout 28a881e7240a23c43ceee5a9e0c9a56da2da3db3

redis/v2 changed the function argument style for creating a new tcp client

this is the parent commit that we we depend on:

https://github.com/vmihailenco/redis/commit/28a881e7240a23c43ceee5a9e0c9a56da2da3db3

this is the commit that broke our code:

https://github.com/vmihailenco/redis/commit/ce34e39219f360baedf597e03f0a9c938bce59dc

this whole thing won't be an issue any more when we vendor the dependencies with something like godep

You can’t perform that action at this time.