示例#1
0
func runServer(t *testing.T, setup *taas.ServerSetup) *taas.Server {
	server := taas.NewServer(setup)
	go serverHandler(t, server)
	return server
}
示例#2
0
文件: rkt_tests.go 项目: topecz/rkt
func runServer(t *testing.T, serverType taas.ServerType, authType taas.AuthType) *taas.Server {
	server := taas.NewServer(serverType, authType, 20)
	go serverHandler(t, server)
	return server
}