liuxiaolong
2021-06-04 939489162c5e1e63e3c30e4fd41e76106ca634b5
clientFactory.go
@@ -16,7 +16,7 @@
}
type Option struct {
   nodes []bhome_msg.BHAddress
   nodes []*bhome_msg.MsgQueryTopicReply_BHNodeAddress
}
type IOption interface {
@@ -37,7 +37,7 @@
   }
}
func WithNodes(nodeArr []bhome_msg.BHAddress) IOption {
func WithNodes(nodeArr []*bhome_msg.MsgQueryTopicReply_BHNodeAddress) IOption {
   return newFuncOption(func(o *Option) {
      o.nodes = nodeArr
   })