config.proto 548 B

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package v2ray.core.app.web;
  3. option go_package = "web";
  4. option java_package = "com.v2ray.core.app.web";
  5. option java_outer_classname = "ConfigProto";
  6. import "v2ray.com/core/common/loader/type.proto";
  7. message FileServer {
  8. message Entry {
  9. oneof FileOrDir {
  10. string File = 1;
  11. string Directory = 2;
  12. }
  13. string path = 3;
  14. }
  15. repeated Entry entry = 1;
  16. }
  17. message Server {
  18. repeated string domain = 1;
  19. v2ray.core.common.loader.TypedSettings settings = 2;
  20. }
  21. message Config {
  22. repeated Server server = 1;
  23. }