Слияние кода завершено, страница обновится автоматически
package einx
import (
"github.com/Cyinx/einx/agent"
"github.com/Cyinx/einx/component"
"github.com/Cyinx/einx/context"
"github.com/Cyinx/einx/event"
"github.com/Cyinx/einx/lua"
"github.com/Cyinx/einx/module"
"github.com/Cyinx/einx/network"
"github.com/Cyinx/einx/timer"
"sync"
)
type EventMsg = event.EventMsg
type EventType = event.EventType
type Agent = agent.Agent
type AgentID = agent.AgentID
type Component = component.Component
type ComponentID = component.ComponentID
type MsgHandler = module.MsgHandler
type RpcHandler = module.RpcHandler
type WorkerPool = module.WorkerPool
type ModuleRouter = module.ModuleRouter
type ComponentMgr = module.ComponentMgr
type SessionEventMsg = event.SessionEventMsg
type LuaRuntime = lua_state.LuaRuntime
type NetLinker = network.NetLinker
type ProtoTypeID = network.ProtoTypeID
type SessionMgr = network.SessionMgr
type SessionHandler = network.SessionHandler
type ITcpClientMgr = network.ITcpClientMgr
type ITcpServerMgr = network.ITcpServerMgr
type TimerHandler = timer.TimerHandler
type EventReceiver = event.EventReceiver
type Module = context.Module
type Context = context.Context
type einx struct {
end_wait sync.WaitGroup
close_chan chan bool
}
func (this *einx) do_close() {
module.Close()
}
func (this *einx) close() {
this.end_wait.Wait()
}
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )