-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSettings.cs
51 lines (42 loc) · 1.32 KB
/
Settings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HashServer
{
public class AppOptions
{
public Profile Host { get; set; }
public gRoots External { get; set; }
public gRoots Internal { get; set; }
public gRoots InternalSSL { get; set; }
public gFiles GoldSourceFiles { get; set; }
}
public class gRoots
{
public string gRoot { get; set; }
}
public class Images
{
public string OS { get; set; }
public string ROOT { get; set; }
}
public class gFiles
{
public Images[] Images { get; set; }
}
public class Profile
{
public string Machine { get; set; }
public ushort BasePort { get; set; }
// This setting will enable proxying to the external groot.
// You will be able to maintain just a selection of unique binaries not nessissiarally the whole system.
public bool ProxyToExternalgRoot { get; set; }
public ushort ThreadCount { get; set; }
public long MaxConcurrentConnections { get; set; }
public string LogLevel { get; set; }
public string CertificateFile { get; set; }
public string CertificatePassword { get; set; }
public string FileLocateNfo { get; set; }
}
}