mirror of
https://github.com/duanhf2012/origin.git
synced 2026-03-13 03:27:36 +08:00
IService接口新增扩展IConcurrent
This commit is contained in:
@@ -20,6 +20,7 @@ var timerDispatcherLen = 100000
|
|||||||
var maxServiceEventChannelNum = 2000000
|
var maxServiceEventChannelNum = 2000000
|
||||||
|
|
||||||
type IService interface {
|
type IService interface {
|
||||||
|
concurrent.IConcurrent
|
||||||
Init(iService IService,getClientFun rpc.FuncRpcClient,getServerFun rpc.FuncRpcServer,serviceCfg interface{})
|
Init(iService IService,getClientFun rpc.FuncRpcClient,getServerFun rpc.FuncRpcServer,serviceCfg interface{})
|
||||||
Stop()
|
Stop()
|
||||||
Start()
|
Start()
|
||||||
|
|||||||
Reference in New Issue
Block a user