strip some cruft from config/cmd
This commit is contained in:
parent
e966944ae5
commit
ff69d46c98
@ -194,11 +194,10 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
DefaultBrokers = map[string]func(...broker.Option) broker.Broker{
|
DefaultBrokers = map[string]func(...broker.Option) broker.Broker{
|
||||||
"go.micro.broker": brokerSrv.NewBroker,
|
"service": brokerSrv.NewBroker,
|
||||||
"service": brokerSrv.NewBroker,
|
"http": http.NewBroker,
|
||||||
"http": http.NewBroker,
|
"memory": memory.NewBroker,
|
||||||
"memory": memory.NewBroker,
|
"nats": nats.NewBroker,
|
||||||
"nats": nats.NewBroker,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DefaultClients = map[string]func(...client.Option) client.Client{
|
DefaultClients = map[string]func(...client.Option) client.Client{
|
||||||
@ -208,11 +207,10 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
DefaultRegistries = map[string]func(...registry.Option) registry.Registry{
|
DefaultRegistries = map[string]func(...registry.Option) registry.Registry{
|
||||||
"go.micro.registry": regSrv.NewRegistry,
|
"service": regSrv.NewRegistry,
|
||||||
"service": regSrv.NewRegistry,
|
"etcd": etcd.NewRegistry,
|
||||||
"etcd": etcd.NewRegistry,
|
"mdns": mdns.NewRegistry,
|
||||||
"mdns": mdns.NewRegistry,
|
"memory": rmem.NewRegistry,
|
||||||
"memory": rmem.NewRegistry,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DefaultSelectors = map[string]func(...selector.Option) selector.Selector{
|
DefaultSelectors = map[string]func(...selector.Option) selector.Selector{
|
||||||
|
Loading…
Reference in New Issue
Block a user