registry.go 668 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package rpcs
  2. // ArgsDeviceRegister device register args
  3. type ArgsDeviceRegister struct {
  4. ArgsWithSpan
  5. ProductKey string
  6. DeviceCode string
  7. DeviceVersion string
  8. ModuleName string
  9. }
  10. // ArgsDeviceAuth device auth
  11. type ArgsDeviceAuth struct {
  12. ArgsWithSpan
  13. DeviceID int64
  14. }
  15. // ArgsDeviceUpdate device update args
  16. type ArgsDeviceUpdate struct {
  17. ArgsWithSpan
  18. DeviceIdentifier string
  19. DeviceName string
  20. DeviceDescription string
  21. }
  22. // ArgsProductList get products list args
  23. type ArgsProductList struct {
  24. ArgsWithSpan
  25. ArgsPage
  26. VendorID uint
  27. ProductName string
  28. }
  29. // ArgsPage page params
  30. type ArgsPage struct {
  31. ArgsWithSpan
  32. Pi int
  33. Ps int
  34. }