mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-26 10:34:07 +08:00
32 lines
677 B
C#
32 lines
677 B
C#
using System;
|
|
|
|
namespace Agile.Config.Protocol
|
|
{
|
|
public class ConfigItem
|
|
{
|
|
public string key { get; set; }
|
|
|
|
public string value { get; set; }
|
|
|
|
public string group { get; set; }
|
|
}
|
|
|
|
public class ActionConst
|
|
{
|
|
public const string Add = "add";
|
|
public const string Update = "update";
|
|
public const string Remove = "remove";
|
|
public const string Offline = "offline";
|
|
public const string Reload = "reload";
|
|
}
|
|
|
|
public class WebsocketAction
|
|
{
|
|
public string Action { get; set; }
|
|
|
|
public ConfigItem Item { get; set; }
|
|
|
|
public ConfigItem OldItem { get; set; }
|
|
}
|
|
}
|