You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
215 B

package main
import (
"zinx/znet"
)
//Server 模块的测试函数
func main() {
/*
服务端测试
*/
//1 创建一个server 句柄 s
s := znet.NewServer("[zinx V0.1]")
//2 开启服务
s.Serve()
}