config.proto 634 B

123456789101112131415161718192021222324
  1. syntax = "proto3";
  2. package v2ray.core.proxy.blackhole;
  3. option csharp_namespace = "V2Ray.Core.Proxy.Blackhole";
  4. option go_package = "github.com/v2fly/v2ray-core/v5/proxy/blackhole";
  5. option java_package = "com.v2ray.core.proxy.blackhole";
  6. option java_multiple_files = true;
  7. import "google/protobuf/any.proto";
  8. import "common/protoext/extensions.proto";
  9. message NoneResponse {}
  10. message HTTPResponse {}
  11. message Config {
  12. google.protobuf.Any response = 1;
  13. }
  14. message SimplifiedConfig {
  15. option (v2ray.core.common.protoext.message_opt).type = "outbound";
  16. option (v2ray.core.common.protoext.message_opt).short_name = "blackhole";
  17. }