INNER CODE UNIT · Go
New
moleculer-go/moleculer · broker/broker.go:681
func New(userConfig ...*moleculer.Config) *ServiceBroker {
config := mergeConfigs(moleculer.DefaultConfig, userConfig)
broker := ServiceBroker{config: config}
broker.init()
return &broker
}