Move all stats related code to stats package
This commit is contained in:
+1
-1
@@ -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{})
|
||||
|
||||
Reference in New Issue
Block a user