(clientCreator proxy.ClientCreator, logger log.Logger)
| 249 | } |
| 250 | |
| 251 | func createAndStartProxyAppConns(clientCreator proxy.ClientCreator, logger log.Logger) (proxy.AppConns, error) { |
| 252 | proxyApp := proxy.NewAppConns(clientCreator) |
| 253 | proxyApp.SetLogger(logger.With("module", "proxy")) |
| 254 | if err := proxyApp.Start(); err != nil { |
| 255 | return nil, fmt.Errorf("error starting proxy app connections: %v", err) |
| 256 | } |
| 257 | return proxyApp, nil |
| 258 | } |
| 259 | |
| 260 | func createAndStartEventBus(logger log.Logger) (*types.EventBus, error) { |
| 261 | eventBus := types.NewEventBus() |
no test coverage detected