You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.xsn.explorer.modules
|
|
|
|
|
|
|
|
import com.google.inject.AbstractModule
|
|
|
|
import com.xsn.explorer.config._
|
|
|
|
|
|
|
|
class ConfigModule extends AbstractModule {
|
|
|
|
|
|
|
|
override def configure(): Unit = {
|
|
|
|
bind(classOf[RPCConfig]).to(classOf[PlayRPCConfig])
|
|
|
|
bind(classOf[LedgerSynchronizerConfig]).to(classOf[LedgerSynchronizerPlayConfig])
|
|
|
|
bind(classOf[ExplorerConfig]).to(classOf[PlayExplorerConfig])
|
|
|
|
}
|
|
|
|
}
|