mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-30 08:06:40 +02:00
bc71640fd9
* broker: swap default broker from eats to http Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
12 lines
247 B
Go
12 lines
247 B
Go
// Package http provides a http based message broker
|
|
package http
|
|
|
|
import (
|
|
"github.com/micro/go-micro/v2/broker"
|
|
)
|
|
|
|
// NewBroker returns a new http broker
|
|
func NewBroker(opts ...broker.Option) broker.Broker {
|
|
return broker.NewBroker(opts...)
|
|
}
|