controller.go 502 B

123456789101112131415161718192021222324252627282930
  1. package rpcs
  2. import (
  3. "sparrow/pkg/klink"
  4. )
  5. type ArgsOnStatus struct {
  6. DeviceId string
  7. Timestamp uint64
  8. SubData []byte
  9. ProductKey string
  10. VendorId string
  11. Action klink.PacketAction
  12. SubDeviceId string
  13. }
  14. type ReplyOnStatus ReplyEmptyResult
  15. type ArgsOnEvent struct {
  16. VendorId string
  17. DeviceId string
  18. TimeStamp uint64
  19. SubDeviceId string
  20. SubData []byte
  21. }
  22. type ReplyOnEvent ReplyEmptyResult
  23. type ArgsRuleChainAct struct {
  24. RuleChainId string
  25. VendorId string
  26. }