syntax = "proto3"; import "v1/device.proto"; // package声明符,用来防止不同的消息类型有命名冲突 package pb; // 用于生成指定语言go的包名称 option go_package = "smart-government-management/pb"; service SmartAuth { rpc DeviceChangeNotify(v1.DeviceChangeNotifyRequest) returns (v1.DeviceChangeNotifyReply) {} }