mirror of https://github.com/ogoun/Zero.git
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.
19 lines
452 B
19 lines
452 B
using ZeroLevel;
|
|
|
|
namespace Consumer
|
|
{
|
|
static class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Bootstrap.Startup<ConsumerService>(args)
|
|
.EnableConsoleLog(ZeroLevel.Services.Logging.LogLevel.FullStandart)
|
|
.UseDiscovery()
|
|
.Run()
|
|
.WaitWhileStatus(ZeroServiceStatus.Running)
|
|
.Stop();
|
|
Bootstrap.Shutdown();
|
|
}
|
|
}
|
|
}
|