registry.go 520 B

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