mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-19 10:56:06 -05:00
30 lines
594 B
Protocol Buffer
30 lines
594 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.app.web;
|
|
option csharp_namespace = "V2Ray.Core.App.Web";
|
|
option go_package = "web";
|
|
option java_package = "com.v2ray.core.app.web";
|
|
option java_multiple_files = true;
|
|
|
|
import "v2ray.com/core/common/serial/typed_message.proto";
|
|
|
|
message FileServer {
|
|
message Entry {
|
|
oneof FileOrDir {
|
|
string File = 1;
|
|
string Directory = 2;
|
|
}
|
|
string path = 3;
|
|
}
|
|
|
|
repeated Entry entry = 1;
|
|
}
|
|
|
|
message Server {
|
|
repeated string domain = 1;
|
|
v2ray.core.common.serial.TypedMessage settings = 2;
|
|
}
|
|
|
|
message Config {
|
|
repeated Server server = 1;
|
|
} |