Browse Source

Added OcelotConfiguration file

pull/6/head
Galip Tolga Erdem 5 years ago
parent
commit
c3aa39d6d3
  1. 20
      shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs

20
shared/EShopOnAbp.Shared.Hosting.Gateways/OcelotConfiguration.cs

@ -0,0 +1,20 @@
using System.Collections.Generic;
namespace EShopOnAbp.Shared.Hosting.Gateways
{
public class OcelotConfiguration
{
public string ServiceName { get; set; }
public string DownstreamPathTemplate { get; set; }
public string DownstreamScheme { get; set; }
public string UpstreamPathTemplate { get; set; }
public List<string> UpstreamHttpMethod { get; set; }
public List<HostAndPort> DownstreamHostAndPorts { get; set; }
}
public class HostAndPort
{
public string Host { get; set; }
public int Port { get; set; }
}
}
Loading…
Cancel
Save