controller.go 482 B

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