github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/subscription/specs/abstract_spec.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.app.subscription.specs; 4 5 option csharp_namespace = "V2Ray.Core.App.Subscription.Specs"; 6 option go_package = "github.com/v2fly/v2ray-core/v5/app/subscription/specs"; 7 option java_package = "com.v2ray.core.app.subscription.specs"; 8 option java_multiple_files = true; 9 10 import "google/protobuf/any.proto"; 11 12 message ServerConfiguration{ 13 string protocol = 1; 14 google.protobuf.Any protocol_settings = 2; 15 string transport = 3; 16 google.protobuf.Any transport_settings = 4; 17 string security = 5; 18 google.protobuf.Any security_settings = 6; 19 } 20 21 message SubscriptionServerConfig{ 22 string id = 1; 23 map<string, string> metadata = 2; 24 ServerConfiguration configuration = 3; 25 } 26 27 message SubscriptionDocument { 28 map<string, string> metadata = 2; 29 repeated SubscriptionServerConfig server = 3; 30 }