github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/node/point/point.proto (about) 1 syntax = "proto3"; 2 3 package yuhaiin.point; 4 5 option go_package = "github.com/Asutorufa/yuhaiin/pkg/protos/node/point"; 6 7 import "node/protocol/protocol.proto"; 8 9 enum origin { 10 reserve = 0; 11 remote = 101; 12 manual = 102; 13 } 14 15 message point { 16 string hash = 1 [ json_name = "hash" ]; 17 string name = 2 [ json_name = "name" ]; 18 string group = 3 [ json_name = "group" ]; 19 origin origin = 4 [ json_name = "origin" ]; 20 // will use protocols' order to create dialer 21 repeated yuhaiin.protocol.protocol protocols = 5 [ json_name = "protocols" ]; 22 }