config.proto 609 B

1234567891011121314151617181920212223242526272829303132
  1. syntax = "proto3";
  2. package v2ray.core.app.reverse;
  3. option csharp_namespace = "V2Ray.Core.Proxy.Reverse";
  4. option go_package = "github.com/v2fly/v2ray-core/v4/app/reverse";
  5. option java_package = "com.v2ray.core.proxy.reverse";
  6. option java_multiple_files = true;
  7. message Control {
  8. enum State {
  9. ACTIVE = 0;
  10. DRAIN = 1;
  11. }
  12. State state = 1;
  13. bytes random = 99;
  14. }
  15. message BridgeConfig {
  16. string tag = 1;
  17. string domain = 2;
  18. }
  19. message PortalConfig {
  20. string tag = 1;
  21. string domain = 2;
  22. }
  23. message Config {
  24. repeated BridgeConfig bridge_config = 1;
  25. repeated PortalConfig portal_config = 2;
  26. }