v2ray-core/app/web/config.proto

30 lines
594 B
Protocol Buffer
Raw Normal View History

2016-12-04 08:10:47 +00:00
syntax = "proto3";
package v2ray.core.app.web;
2016-12-22 23:24:28 +00:00
option csharp_namespace = "V2Ray.Core.App.Web";
2016-12-04 08:10:47 +00:00
option go_package = "web";
option java_package = "com.v2ray.core.app.web";
2017-02-03 22:15:10 +00:00
option java_multiple_files = true;
2016-12-04 08:10:47 +00:00
2016-12-15 10:51:09 +00:00
import "v2ray.com/core/common/serial/typed_message.proto";
2016-12-04 08:10:47 +00:00
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;
2016-12-15 10:51:09 +00:00
v2ray.core.common.serial.TypedMessage settings = 2;
2016-12-04 08:10:47 +00:00
}
message Config {
repeated Server server = 1;
}