init
This commit is contained in:
27
DouyinApi.Extensions/Apollo/ApolloOptions.cs
Normal file
27
DouyinApi.Extensions/Apollo/ApolloOptions.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace DouyinApi.Extensions.Apollo
|
||||
{
|
||||
/// <summary>
|
||||
/// Apollo配置项
|
||||
/// </summary>
|
||||
public class ApolloOptions
|
||||
{
|
||||
public bool Enable { get; set; }
|
||||
public List<ChildNamespace> Namespaces { get; set; }
|
||||
|
||||
public class ChildNamespace
|
||||
{
|
||||
/// <summary>
|
||||
/// 命名空间名字
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 数据格式 Json/Yml/Yaml等
|
||||
/// </summary>
|
||||
public string Format { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user