add http handler option for broker

This commit is contained in:
Asim Aslam
2018-11-18 20:40:43 +00:00
parent d9fc2c922d
commit 1cb40831a4
3 changed files with 37 additions and 0 deletions

View File

@@ -1,9 +1,11 @@
// Package http provides a http based message broker
package http
import (
"github.com/micro/go-micro/broker"
)
// NewBroker returns a new http broker
func NewBroker(opts ...broker.Option) broker.Broker {
return broker.NewBroker(opts...)
}