Move all stats related code to stats package

This commit is contained in:
2015-10-27 02:54:00 +03:00
parent 1cace592e6
commit 6f56486566
6 changed files with 131 additions and 53 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func main() {
s := satan.Summon()
s.SubscribeFunc = kafka.Subscribe
s.Statistics = statsLogger
s.DaemonStats = statsLogger
s.AddDaemon(&daemons.NumberPrinter{})
s.AddDaemon(&daemons.PriceConsumer{})