github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/subscription/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.app.subscription;
     4  
     5  option csharp_namespace = "V2Ray.Core.App.Subscription";
     6  option go_package = "github.com/v2fly/v2ray-core/v5/app/subscription";
     7  option java_package = "com.v2ray.core.app.subscription";
     8  option java_multiple_files = true;
     9  
    10  import "common/protoext/extensions.proto";
    11  
    12  message ImportSource {
    13    string name = 1;
    14    string url = 2;
    15    string tag_prefix = 3;
    16  
    17    string import_using_tag = 4;
    18  
    19    uint64 default_expire_seconds = 5;
    20  }
    21  
    22  // Config is the settings for Subscription Manager.
    23  message Config {
    24    option (v2ray.core.common.protoext.message_opt).type = "service";
    25    option (v2ray.core.common.protoext.message_opt).short_name = "subscription";
    26  
    27    repeated ImportSource imports = 1;
    28  
    29    bytes nonnative_converter_overlay = 2;
    30    string nonnative_converter_overlay_file = 96002 [(v2ray.core.common.protoext.field_opt).convert_time_read_file_into = "nonnative_converter_overlay"];
    31  }