蛋蛋星球RabbitMq消费项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_egg_canal_user_consume.go 512 B

1 week ago
1234567891011121314151617181920
  1. package md
  2. type CanalUser struct {
  3. Id string `json:"id"`
  4. Level string `json:"level"`
  5. ParentUid string `json:"parent_uid"`
  6. }
  7. type CanalUserMessage[T any] struct {
  8. Data []T `json:"data"`
  9. Database string `json:"database"`
  10. ES int64 `json:"es"`
  11. ID int64 `json:"id"`
  12. IsDdl bool `json:"isDdl"`
  13. Old []T `json:"old"`
  14. PkNames []string `json:"pkNames"`
  15. Table string `json:"table"`
  16. TS int64 `json:"ts"`
  17. Type string `json:"type"`
  18. }