package rpcs type ArgsDeviceId struct { Id string } type ReplyEmptyResult struct{} // 定义 rpc服务的名字 const ( RegistryServerName = "registry" MQTTAccessName = "MQTTAccess" DeviceManagerName = "deviceManager" ControllerName = "controller" HttpAccessName = "HTTPAccess" )