示例#1
0
func NewNodeService() *NodeService {
	s := &NodeService{}
	s.Server = netio.NewTcpSocketServer()
	return s
}
示例#2
0
func NewMyServer() *MyServer {
	s := &MyServer{}
	s.Server = netio.NewTcpSocketServer()
	return s
}