close tracker pool connections & some style changes

This commit is contained in:
Jimmy Zelinskie
2014-07-21 03:58:07 -04:00
parent e78dc74990
commit 6b260b7352
5 changed files with 31 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ import (
type driver struct{}
func (d *driver) New(conf *config.DriverConfig) tracker.Pool {
func (d *driver) New(cfg *config.DriverConfig) tracker.Pool {
return &Pool{
users: make(map[string]*models.User),
torrents: make(map[string]*models.Torrent),