Imports code.google.com/p/goconf/conf github.com/gamelost/go-nsq github.com/mitchellh/mapstructure github.com/thejerf/suture labix.org/v2/mgo labix.org/v2/mgo/bson Standard library imports bytes crypto/sha512 encoding/json errors flag fmt os os/signal syscall time