mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-29 21:52:07 -07:00
(wip) rework configuration to support multiple frontends
This commit is contained in:
@@ -29,7 +29,7 @@ var logger = log.NewLogger(Name)
|
||||
|
||||
func init() {
|
||||
// Register the storage driver.
|
||||
storage.RegisterBuilder(Name, builder)
|
||||
storage.RegisterDriver(Name, builder)
|
||||
}
|
||||
|
||||
func builder(icfg conf.MapConfig) (storage.PeerStorage, error) {
|
||||
|
||||
Reference in New Issue
Block a user