common.go 530 B

123456789101112131415161718192021
  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. EmqxAgentServiceName = "EmqxAgentServer"
  15. SceneAccessServiceName = "SceneAccess"
  16. TimerServiceName = "TimerService"
  17. OneKeyServiceName = "OneKeyService"
  18. )