INNER CODE UNIT · Go
result
moleculer-go/moleculer · broker/broker.go:659
result := make([]*moleculer.ServiceSchema, len(svcs))
for i, svc := range svcs {
result[i] = svc.Schema()
}
return result
}
return nil
},
MultActionDelegate: func(callMaps map[string]map[string]interface{}) chan map[string]moleculer.Payload {
return broker.MCall(callMaps)
},
BrokerContext: func() moleculer.BrokerContext {
return broker.rootContext
},
MiddlewareHandler: broker.middlewares.CallHandlers,
Publish: broker.Publish,
WaitFor: broker.WaitFor,
}