Rework stats server

This commit is contained in:
9seconds
2018-10-16 22:17:46 +03:00
parent 7c463851b2
commit c74e0ee359
6 changed files with 169 additions and 178 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ func main() { // nolint: gocyclo
zap.S().Infow("Use direct connection to Telegram")
}
if err := stats.Start(conf); err != nil {
if err := stats.Init(conf); err != nil {
panic(err)
}