1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/Cyinx-einx

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
einx.go 1.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
cyinx-home Отправлено 11.10.2018 06:32 3ccc20e
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 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/Cyinx-einx.git
git@api.gitlife.ru:oschina-mirror/Cyinx-einx.git
oschina-mirror
Cyinx-einx
Cyinx-einx
master