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

     1  syntax = "proto3";
     2  
     3  package yuhaiin.node;
     4  
     5  option go_package = "github.com/Asutorufa/yuhaiin/pkg/protos/node";
     6  
     7  import "node/point/point.proto";
     8  import "node/subscribe/subscribe.proto";
     9  import "node/tag/tag.proto";
    10  
    11  message node {
    12    yuhaiin.point.point tcp = 4 [ json_name = "tcp" ];
    13    yuhaiin.point.point udp = 5 [ json_name = "udp" ];
    14    map<string, yuhaiin.subscribe.link> links = 2 [ json_name = "links" ];
    15    manager manager = 3 [ json_name = "manager" ];
    16  }
    17  
    18  message nodes {
    19    map<string, string> nodesV2 = 3 [ json_name = "node_hash_map" ];
    20  }
    21  
    22  message manager {
    23    map<string, nodes> groupsV2 = 2 [ json_name = "group_nodes_map" ];
    24    map<string, yuhaiin.point.point> nodes = 3 [ json_name = "nodes" ];
    25    map<string, yuhaiin.tag.tags> tags = 4 [ json_name = "tags" ];
    26  }