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.
|
package model |
|
|
|
import ( |
|
"encoding/json" |
|
) |
|
|
|
// CanalBinLog is |
|
type CanalBinLog struct { |
|
Action string `json:"action"` |
|
Table string `json:"table"` |
|
Old json.RawMessage `json:"old"` |
|
New json.RawMessage `json:"new"` |
|
} |
|
|
|
// MidBinLog is |
|
type MidBinLog struct { |
|
Mid int64 `json:"mid"` |
|
}
|
|
|