go-common/app/job/main/account-summary/model/canal.go
2019-04-22 18:49:16 +08:00

19 lines
310 B
Go

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"`
}