This repository has been archived on 2023-04-11. You can view files and clone it, but cannot push or open issues or pull requests.

35 lines
683 B
C#
Raw Normal View History

2020-05-09 09:49:52 -04:00
using System;
2020-05-09 23:40:35 -04:00
using System.Threading;
2020-05-09 09:49:52 -04:00
namespace authorizer
{
class Program
{
static AuthServer server;
2020-05-09 23:40:35 -04:00
static Redis redis;
2020-05-09 09:49:52 -04:00
static void Main(string[] args)
{
2020-05-09 23:40:35 -04:00
redis = new Redis(Environment.GetEnvironmentVariable("REDIS_HOSTNAME"));
redis.SetTest();
Thread.Sleep(100);
redis.GetTest();
/* server = new AuthServer();
2020-05-09 09:49:52 -04:00
server.Start();
string input;
do
{
input = Console.ReadLine();
}
while(input != "stop");
2020-05-09 23:40:35 -04:00
server.Stop(); */
2020-05-09 09:49:52 -04:00
}
}
}