mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-28 05:03:02 +00:00
Some checks are pending
release Linux / build (Release) (push) Waiting to run
release Linux / rpm (push) Blocked by required conditions
release macOS / build (Release) (push) Waiting to run
release Windows desktop (Avalonia UI) / build (Release) (push) Waiting to run
release Windows / build (Release) (push) Waiting to run
* Refactor * Add hysteria2 bandwidth and hop interval support * Upgrade config version and rename * Refactor id and security * Refactor flow * Fix hy2 bbr * Fix warning CS0618 * Remove unused code * Fix hy2 migrate * Fix * Refactor * Refactor ProfileItem protocol extra handling * Refactor, use record instead of class * Hy2 SalamanderPass * Fix Tuic * Fix group * Fix Tuic * Fix hy2 Brutal Bandwidth * Clean Code * Fix * Support interval range * Add Username --------- Co-authored-by: 2dust <31833384+2dust@users.noreply.github.com>
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
namespace ServiceLib.Models;
|
|
|
|
public record ProtocolExtraItem
|
|
{
|
|
// vmess
|
|
public string? AlterId { get; init; }
|
|
public string? VmessSecurity { get; init; }
|
|
|
|
// vless
|
|
public string? Flow { get; init; }
|
|
public string? VlessEncryption { get; init; }
|
|
//public string? VisionSeed { get; init; }
|
|
|
|
// shadowsocks
|
|
//public string? PluginArgs { get; init; }
|
|
public string? SsMethod { get; init; }
|
|
|
|
// wireguard
|
|
public string? WgPublicKey { get; init; }
|
|
public string? WgPresharedKey { get; init; }
|
|
public string? WgInterfaceAddress { get; init; }
|
|
public string? WgReserved { get; init; }
|
|
public int? WgMtu { get; init; }
|
|
|
|
// hysteria2
|
|
public string? SalamanderPass { get; init; }
|
|
public int? UpMbps { get; init; }
|
|
public int? DownMbps { get; init; }
|
|
public string? Ports { get; init; }
|
|
public string? HopInterval { get; init; }
|
|
|
|
// group profile
|
|
public string? GroupType { get; init; }
|
|
public string? ChildItems { get; init; }
|
|
public string? SubChildItems { get; init; }
|
|
public string? Filter { get; init; }
|
|
public EMultipleLoad? MultipleLoad { get; init; }
|
|
}
|