github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/config/config.proto (about)

     1  syntax = "proto3";
     2  package yuhaiin.config;
     3  
     4  option go_package = "github.com/Asutorufa/yuhaiin/pkg/protos/config";
     5  
     6  import "config/log/log.proto";
     7  import "config/bypass/bypass.proto";
     8  import "config/dns/dns.proto";
     9  import "config/listener/listener.proto";
    10  
    11  message setting {
    12    bool ipv6 = 7 [ json_name = "ipv6" ];
    13    // net_interface, eg: eth0
    14    string net_interface = 6 [ json_name = "net_interface" ];
    15    system_proxy system_proxy = 1 [ json_name = "system_proxy" ];
    16    yuhaiin.bypass.bypass_config bypass = 2 [ json_name = "bypass" ];
    17    yuhaiin.dns.dns_config dns = 4 [ json_name = "dns" ];
    18    yuhaiin.listener.inbound_config server = 5 [ json_name = "server" ];
    19    yuhaiin.log.logcat logcat = 8 [ json_name = "logcat" ];
    20  }
    21  
    22  message system_proxy {
    23    bool http = 2 [ json_name = "http" ];
    24    bool socks5 = 3 [ json_name = "socks5" ];
    25  }
    26  
    27  message info {
    28    string version = 1 [ json_name = "version" ];
    29    string commit = 2 [ json_name = "commit" ];
    30    string build_time = 3 [ json_name = "build_time" ];
    31    string go_version = 4 [ json_name = "go_version" ];
    32    string arch = 5 [ json_name = "arch" ];
    33    string platform = 6 [ json_name = "platform" ];
    34    string os = 7 [ json_name = "os" ];
    35    string compiler = 8 [ json_name = "compiler" ];
    36    repeated string build = 9 [ json_name = "build" ];
    37  }