mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-30 06:02:07 -07:00
Register the mock driver
This commit is contained in:
@@ -22,3 +22,8 @@ func (d *driver) New(conf *config.DataStore) tracker.Pool {
|
||||
whitelist: make(map[string]bool),
|
||||
}
|
||||
}
|
||||
|
||||
func init() {
|
||||
tracker.Register("mock", &driver{})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user