package base import ( "server/conf" "gitea.bywaystudios.com/pet_home/leaf/chanrpc" "gitea.bywaystudios.com/pet_home/leaf/module" ) func NewSkeleton() *module.Skeleton { skeleton := &module.Skeleton{ GoLen: conf.GoLen, TimerDispatcherLen: conf.TimerDispatcherLen, AsynCallLen: conf.AsynCallLen, ChanRPCServer: chanrpc.NewServer(conf.ChanRPCLen), } skeleton.Init() return skeleton }