Auth redis test

This commit is contained in:
2020-05-09 23:40:35 -04:00
parent da26a320b4
commit 4d551a3bfc
5 changed files with 98 additions and 3 deletions

View File

@ -1,13 +1,24 @@
using System;
using System.Threading;
namespace authorizer
{
class Program
{
static AuthServer server;
static Redis redis;
static void Main(string[] args)
{
server = new AuthServer();
redis = new Redis(Environment.GetEnvironmentVariable("REDIS_HOSTNAME"));
redis.SetTest();
Thread.Sleep(100);
redis.GetTest();
/* server = new AuthServer();
server.Start();
@ -17,7 +28,7 @@ namespace authorizer
input = Console.ReadLine();
}
while(input != "stop");
server.Stop();
server.Stop(); */
}
}
}