MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / createAndStartProxyAppConns

Function createAndStartProxyAppConns

node/node.go:251–258  ·  view source on GitHub ↗
(clientCreator proxy.ClientCreator, logger log.Logger)

Source from the content-addressed store, hash-verified

249}
250
251func 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
260func createAndStartEventBus(logger log.Logger) (*types.EventBus, error) {
261 eventBus := types.NewEventBus()

Callers 1

NewNodeFunction · 0.70

Calls 4

NewAppConnsFunction · 0.92
SetLoggerMethod · 0.65
WithMethod · 0.65
StartMethod · 0.65

Tested by

no test coverage detected