Adam R. Grey
4aa3162f06
I should have just said "cool thing, let me just ctrl+f /.Factory\b/, oh. [delete]"
20 lines
820 B
C#
20 lines
820 B
C#
using System.Collections.Generic;
|
|
|
|
public class Config
|
|
{
|
|
public string name { get; set; } = "guy who didn't configure";
|
|
public string bootstrap_servers { get; set; } = "localhost:9092";
|
|
public string handling_group { get; set; } = null;
|
|
public string kafka_location { get; set; } = "/usr/lib/librdkafka.so";
|
|
public Dictionary<string, string> topics { get; set; } = new Dictionary<string, string>() {
|
|
{"global", "silver_meddlists.global"},
|
|
{"directorial", "silver_meddlists.directorial"}
|
|
};
|
|
public class Command
|
|
{
|
|
public string name { get; set; }
|
|
public string shell { get; set; }
|
|
}
|
|
public List<Command> commands { get; set; } = new List<Command>() { new Command() { name = "echo", shell = "echo" } };
|
|
public List<Command> checks { get; set; }
|
|
} |