mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
548 B
29 lines
548 B
syntax = "proto3";
|
|
|
|
package v2ray.core.app.web;
|
|
option go_package = "web";
|
|
option java_package = "com.v2ray.core.app.web";
|
|
option java_outer_classname = "ConfigProto";
|
|
|
|
import "v2ray.com/core/common/loader/type.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.loader.TypedSettings settings = 2;
|
|
}
|
|
|
|
message Config {
|
|
repeated Server server = 1;
|
|
} |