2021-11-16 00:17:47 +08:00
|
|
|
package external
|
|
|
|
|
|
|
|
import (
|
|
|
|
"sync"
|
|
|
|
|
|
|
|
"gitee.com/wheat-os/wheatCache/pkg/proto"
|
2021-11-18 14:54:03 +08:00
|
|
|
"github.com/golang/mock/gomock"
|
2021-11-16 00:17:47 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
oneGatewayClient sync.Once
|
|
|
|
gatewayClient proto.CommServerClient
|
|
|
|
)
|
2021-11-18 14:54:03 +08:00
|
|
|
|
|
|
|
var (
|
2021-11-21 23:10:14 +08:00
|
|
|
GateWayCtrl *gomock.Controller
|
|
|
|
mockGatewayClient proto.CommServerClient
|
|
|
|
oneMockGatewayClient sync.Once
|
2021-11-18 14:54:03 +08:00
|
|
|
)
|