registry.go 598 B

12345678910111213141516171819202122232425262728293031323334
  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 int64
  12. }
  13. // ArgsDeviceUpdate device update args
  14. type ArgsDeviceUpdate struct {
  15. DeviceIdentifier string
  16. DeviceName string
  17. DeviceDescription string
  18. }
  19. // ArgsProductList get products list args
  20. type ArgsProductList struct {
  21. ArgsPage
  22. VendorID uint
  23. ProductName string
  24. }
  25. // ArgsPage page params
  26. type ArgsPage struct {
  27. Pi int
  28. Ps int
  29. }