liuxiaolong
2021-07-01 b9b16b451361341b990d3bbb78fc2d53b74202a0
requestTopic.go
@@ -1,8 +1,13 @@
package mc
package bhomeclient
type MicroFunc func(req *Request) *Reply
type WrapperHandler struct {
   Bk       Broker
   Tr       Transport
}
type MicroFunc func(h *WrapperHandler, req *Request) *Reply
type Transport interface {
   RequestTopic(string, Request) (*Reply,error)
   RequestTopic(string, Request, int) (*Reply,error)
}