syntax = "proto3"; package network; option go_package="./;network"; message connect_request { enum type { tcp = 0; udp = 1; } string id = 1; string name = 2; type _type = 3; string addr = 4; uint32 port = 5; } message connect_response { string id = 1; bool ok = 2; string msg = 3; } message disconnect { string id = 1; }