Пример #1
0
func runServer(t *testing.T, setup *taas.ServerSetup) *taas.Server {
	server := taas.NewServer(setup)
	go serverHandler(t, server)
	return server
}
Пример #2
0
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
}