registry.go 498 B

12345678910111213141516171819202122232425262728
  1. package rpcs
  2. // ArgsDeviceRegister device register args
  3. type ArgsDeviceRegister struct {
  4. ProductKey string
  5. DeviceCode string
  6. DeviceVersion string
  7. }
  8. // ArgsDeviceUpdate device update args
  9. type ArgsDeviceUpdate struct {
  10. DeviceIdentifier string
  11. DeviceName string
  12. DeviceDescription string
  13. }
  14. // ArgsProductList get products list args
  15. type ArgsProductList struct {
  16. ArgsPage
  17. VendorID uint
  18. ProductName string
  19. }
  20. // ArgsPage page params
  21. type ArgsPage struct {
  22. Pi int
  23. Ps int
  24. }