github.com/annwntech/go-micro/v2@v2.9.5/broker/http/http.go (about) 1 // Package http provides a http based message broker 2 package http 3 4 import ( 5 "github.com/annwntech/go-micro/v2/broker" 6 ) 7 8 // NewBroker returns a new http broker 9 func NewBroker(opts ...broker.Option) broker.Broker { 10 return broker.NewBroker(opts...) 11 }