mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
15 lines
242 B
Go
15 lines
242 B
Go
package http
|
|
|
|
import (
|
|
"github.com/micro/go-micro/broker"
|
|
"github.com/micro/go-micro/cmd"
|
|
)
|
|
|
|
func init() {
|
|
cmd.DefaultBrokers["http"] = NewBroker
|
|
}
|
|
|
|
func NewBroker(opts ...broker.Option) broker.Broker {
|
|
return broker.NewBroker(opts...)
|
|
}
|