nats-e => eats

This commit is contained in:
Asim Aslam 2020-01-29 23:14:05 +00:00
parent dc257f5066
commit 5969cc358e
2 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ func (n *natsBroker) Subscribe(topic string, handler Handler, opts ...SubscribeO
}
func (n *natsBroker) String() string {
return "nats-e"
return "eats"
}
func (n *natsBroker) setOption(opts ...Option) {

View File

@ -277,7 +277,7 @@ var (
// used for default selection as the fall back
defaultClient = "grpc"
defaultServer = "grpc"
defaultBroker = "nats-e"
defaultBroker = "eats"
defaultRegistry = "mdns"
defaultSelector = "registry"
defaultTransport = "http"