broker: swap default broker from eats to http (#1524)

* broker: swap default broker from eats to http

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-04-11 03:46:54 +03:00
committed by GitHub
parent b979db6d9d
commit bc71640fd9
8 changed files with 1129 additions and 518 deletions

11
broker/http/http.go Normal file
View File

@@ -0,0 +1,11 @@
// 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...)
}