registry.go 696 B

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