Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version01 = "0.1" Version20Alpha = "2.0.alpha" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DDLJson_2_0 ¶
type DDLJson_2_0 struct {
MysqlJson_2_0_header
SQL string `json:"sql"`
}
type DDLMsg_0_1 ¶
type DDLMsg_0_1 struct {
MysqlJson_0_1_header
SQL string `json:"sql"`
}
type DmlJson_2_0 ¶
type DmlJson_2_0 struct {
MysqlJson_2_0_header
Data map[string]interface{}
Old map[string]interface{}
Pks map[string]interface{}
}
type DmlStringMsg_0_1 ¶
type Encoder ¶
type Encoder interface {
Serialize(msg *core.Msg, version string) ([]byte, error)
Deserialize(b []byte) (core.Msg, error)
}
func NewEncoder ¶
type JsonMsgVersion20 ¶
Click to show internal directories.
Click to hide internal directories.