1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00
v2fly/proxy/hysteria2/config.proto
Xiaokang Wang (Shelikhoo) 54fbeeba6d
Resync Hysteria2 Import (#3280)
* Revert "Remove hysteria2"

This reverts commit 1d21d7a07761af3b40ecfbf418b0849eb1c3918b.

* Update Hysteria2

* Rename hysteria2 module

* fix broken hy2 import version

---------

Co-authored-by: JimmyHuang454 <jimmyhuang454@gmail.com>
2025-01-14 10:06:08 +00:00

29 lines
899 B
Protocol Buffer

syntax = "proto3";
package v2ray.core.proxy.hysteria2;
option csharp_namespace = "V2Ray.Core.Proxy.Hysteria2";
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/hysteria2";
option java_package = "com.v2ray.core.proxy.hysteria2";
option java_multiple_files = true;
import "common/net/packetaddr/config.proto";
import "common/protocol/server_spec.proto";
import "common/protoext/extensions.proto";
message Account {
}
message ClientConfig {
option (v2ray.core.common.protoext.message_opt).type = "outbound";
option (v2ray.core.common.protoext.message_opt).short_name = "hysteria2";
repeated v2ray.core.common.protocol.ServerEndpoint server = 1;
}
message ServerConfig {
option (v2ray.core.common.protoext.message_opt).type = "inbound";
option (v2ray.core.common.protoext.message_opt).short_name = "hysteria2";
v2ray.core.net.packetaddr.PacketAddrType packet_encoding = 1;
}