common.go 339 B

1234567891011121314151617
  1. package rpcs
  2. type ArgsDeviceId struct {
  3. Id string
  4. }
  5. type ReplyEmptyResult struct{}
  6. // 定义 rpc服务的名字
  7. const (
  8. RegistryServerName = "registry"
  9. MQTTAccessName = "MQTTAccess"
  10. DeviceManagerName = "deviceManager"
  11. ControllerName = "controller"
  12. HttpAccessName = "HTTPAccess"
  13. ShadowServiceName = "ShadowServer"
  14. )