mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-06 08:16:03 +02:00
Merge pull request #1133 from alrs/drop-unused-broker-code
broker: drop unused registryKey variable
This commit is contained in:
commit
eeb6944ce5
@ -46,10 +46,6 @@ type PublishOption func(*PublishOptions)
|
|||||||
|
|
||||||
type SubscribeOption func(*SubscribeOptions)
|
type SubscribeOption func(*SubscribeOptions)
|
||||||
|
|
||||||
var (
|
|
||||||
registryKey = "github.com/micro/go-micro/registry"
|
|
||||||
)
|
|
||||||
|
|
||||||
func NewSubscribeOptions(opts ...SubscribeOption) SubscribeOptions {
|
func NewSubscribeOptions(opts ...SubscribeOption) SubscribeOptions {
|
||||||
opt := SubscribeOptions{
|
opt := SubscribeOptions{
|
||||||
AutoAck: true,
|
AutoAck: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user