This commit is contained in:
@@ -20,6 +20,8 @@ import (
|
||||
|
||||
func (s *Server) Boot(serverid, port uint16) error {
|
||||
// go s.bootws()
|
||||
s.serverid = serverid
|
||||
s.port = port
|
||||
|
||||
err := gnet.Run(s, s.network+"://"+s.addr,
|
||||
gnet.WithMulticore(true),
|
||||
|
||||
Reference in New Issue
Block a user